How to Auto sync any folder to one drive in windows 10



one drive sync profile folder (desktop - downloads - photos .....)
but if you need to sync folder in other partition or drive you can use this 1 simple command


mklink /j “%UserProfile%\OneDrive\Folder Name” “Full path of source folder”

Example :

mklink /j “%UserProfile%\OneDrive\test” “C:\test”


PDF link