![]() ![]() Here, the first path is where you’d like to create the new directory junction. mklink /J "%UserProfile%\OneDrive\ DestinationFolder" " D:\SourceFolder" In the Command Prompt, execute the below command while replacing the dummy paths with the actual paths. First, open the start menu, search for “Command Prompt” and click on the result to open the Command Prompt.Ģ. To do that we need to use the Command Prompt.ġ. ![]() Steps to Sync Folder Outside OneDrive Without Moving or CopyingĪs I said, we need to create a Symbolic Link. Just follow the below steps and you will be good to go. You can learn more about the Symbolic Links from this official Microsoft Docs page. Though the junction directory looks like a regular folder for normal users, it is nothing but a kind of shortcut that lets you access the source directly. When you do this, it creates a kind of link between the source directory and the destination directory. Since we don’t want to copy or move the target folder to the OneDrive folder, we are going to create a symbolic link with directory junction. So, without further ado, let me show you how to sync any folder, no matter its location, with OneDrive. However, if you want to sync a folder that is outside the OneDrive folder without moving or copying it, then you need to do some magic.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |