![]() To differentiate the junction directory from the other folders, you will see a little arrow overlay icon which suggests that it is just a shortcut and not a real folder. If you open the OneDrive folder, you will see a new folder with the name you chose in the command. You will see the “Junction Created” message as soon as you execute the command.Note: If you’ve moved the OneDrive folder from its default location, you need to modify the first path in the command to reflect that change. i.e., the folder you’d like to sync with OneDrive. The second path is the source folder path. That way, you will know it’s a junction folder. You can name the folder anything you want by replacing “DestinationFolder.” Generally, it is helpful to name the folder the same as the source with a “-Junction” suffix. In our case, that is in the OneDrive folder. Here, the first path is where you’d like to create the new directory junction. ![]() mklink /J "%UserProfile%\OneDrive\DestinationFolder" "D:\SourceFolder" ![]() Once the Command Prompt window opens, run the below command while replacing the dummy paths with the actual paths. If you are trying to sync a system folder, you should open cmd as admin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |