Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9273

Difference between /D and /J options for mklink command when syncing folders to OneDrive

$
0
0

I want to sync a large folder on my Windows machine to OneDrive without duplicating it on my local drive. I have read two tutorials suggesting using the mklink command to create a link between the folder and the OneDrive sync folder, but they use different options: /D and /J.

The first tutorial recommends using the /J option to create a directory junction, which is a type of symbolic link that can link directories across different volumes. The second tutorial (from the official Microsoft website) recommends using the /D option to create a directory symbolic link, which is another type of symbolic link that can also link directories across different volumes.

I am confused about the difference between these two options and which one I should use for my purpose. I have read some articles that explain the difference between hard links and symbolic links, but I am still unclear about the difference between directory junctions and directory symbolic links and how they affect the OneDrive sync process.

Can anyone explain the difference between the /D and /J options for the mklink command and which one is better for syncing folders to OneDrive? Thank you in advance.


Viewing all articles
Browse latest Browse all 9273

Trending Articles