How to sync any folder with OneDrive in Windows 10

By default, you can choose which folders to sync in OneDrive with PC. Windows 10 stores the OneDrive folder in the% UserProfile% folder of the account (for example, C: UsersBrink) by default.

OneDrive is a free online storage that comes with Windows 10 and is used with a Microsoft account. Save files to OneDrive and you'll be able to access them from any PC, tablet or phone.

By default, you can choose which folders to sync in OneDrive with PC. Windows 10 stores the OneDrive folder in the % UserProfile% folder of the account (for example, "C: UsersBrink" ) by default.

This guide will show you how to sync any folder with OneDrive for accounts in Windows 10.

Here's how:

1. Open Command Prompt.

2. Enter the command below into the Command Prompt and press Enter .

 mklink /j "%UserProfile%OneDriveFolder Name" "Full path of source folder" 

Replace the full path of the source folder in the above command with the actual full path of the directory (for example, "F: Example Folder" ) that you want to sync with OneDrive.

Replace Folder Name in the above command with the folder name (for example, "Example Folder" ) that you want to display in OneDrive. It is best to use the same name as the source directory to help know what it is linked to. For example:

 mklink /j "%UserProfile%OneDriveExample Folder" "F:Example Folder" 
Picture 1 of How to sync any folder with OneDrive in Windows 10
Enter the command in the Command Prompt

3. The source folder (for example, "F: Example Folder" ) will now be synchronized with OneDrive (for example, "% UserProfile% OneDriveExample Folder" ). Anything you copy, save, and delete in either folder will apply to the other.

If you want to undo this junction point (a real folder pointing to another folder) and stop syncing the source folder with OneDrive, you'll only have to delete the folder (for example, "% UserProfile% OneDriveExample Folder" ) in OneDrive folder. This will not delete the source folder (e.g. "F: Example Folder" ), but it will also delete it from OneDrive online.

Update 15 January 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile