9/28/2023 0 Comments Onedrive sync folders windows 10If 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. With that, you’ve synced an outside folder with OneDrive.įirst, open the start menu, search for “Command Prompt,” and click on the result to open the Command Prompt.If you want to sync other folders with OneDrive, execute the command as needed.You should see the “Junction created” message.Mklink /J "%UserProfile%\OneDrive\DestinationFolder" "D:\SourceFolder" Run the below command while replacing dummy folder names.Click on “Run as Administrator” to open cmd as admin.To do that, we need to use the Command Prompt. Conclusion How to sync any folder to OneDriveĪs I said, we need to create a Symbolic Link.In this quick and easy OneDrive guide, let me show you the trick to sync any folder on Windows with OneDrive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |