Forum Discussion
johnbor
Mar 12, 2023Brass Contributor
How to add additional folders
How can I add additional folders for One drive to backup other than just Documents, Pictures, Desktop ? Say I have a folder in my C drive I want backed up all so?
klinz
Jan 06, 2024Copper Contributor
Actually you can. Just create a symbolic link to OneDrive folder.
mklink /D "C:\Users\Fatih\OneDrive\MyFolder" "C:\Users\Fatih\Downloads\MyFolder"
mklink is used for making links (like shortcuts)
/D is to specify that the target is a directory (you can ignore it if you just want to add a single file).
command syntax is MKLINK [/D] Link Target
Note: I did not test it thoroughly but it added the folder to sync.
mklink /D "C:\Users\Fatih\OneDrive\MyFolder" "C:\Users\Fatih\Downloads\MyFolder"
mklink is used for making links (like shortcuts)
/D is to specify that the target is a directory (you can ignore it if you just want to add a single file).
command syntax is MKLINK [/D] Link Target
Note: I did not test it thoroughly but it added the folder to sync.
Mike Williams
Jan 26, 2024Steel Contributor
Do not assume that these workarounds will continue to be supported in OneDrive client updates. You run the risk of file loss or corruption.