How to Sync Any Folder With SkyDrive on Windows 8.1

Before Windows 8.1, it was possible to sync any folder on your computer with SkyDrive using symbolic links. This method no longer works now that SkyDrive is baked into Windows 8.1, but there are other tricks you can use.

Creating a symbolic link or directory junction inside your SkyDrive folder will give you an empty folder in your SkyDrive cloud storage. Confusingly, the files will appear inside the SkyDrive Modern app as if they were being synced, but they aren’t.

How to Sync Any Folder With SkyDrive on Windows 8.1

The Solution

With SkyDrive refusing to understand and accept symbolic links in its own folder, the best option is probably to use symbolic links anyway — but in reverse.

For example, let’s say you have a program that automatically saves important data to a folder anywhere on your hard drive — whether it’s C:\Users\USER\Documents\, C:\Program\Data, or anywhere else. Rather than trying to trick SkyDrive into understanding a symbolic link, we could instead move the actual folder itself to SkyDrive and then use a symbolic link at the folder’s original location to trick the original program.

This may not work for every single program out there. But it will likely work for most programs, which use standard Windows API calls to access folders and save files.

We’re just flipping the old solution here — we can’t trick SkyDrive anymore, so let’s try to trick other programs instead.

Moving a Folder and Creating a Symbolic Link

First, ensure no program is using the external folder. For example, if it’s a program data or settings folder, close the program that’s using the folder.

Next, simply move the folder to your SkyDrive folder. Right-click the external folder, select Cut, go to the SkyDrive folder, right-click and select Paste. The folder will now be located in the SkyDrive folder itself, so it will sync normally.

move-folder-to-skydrive

Next, open a Command Prompt window as Administrator. Right-click the Start button on the taskbar or press Windows Key + X and select Command Prompt (Administrator) to open it.

open-command-prompt-as-administrator

Run the following command to create a symbolic link at the original location of the folder:

mklink /d “C:\Original\Folder\Location” “C:\Users\NAME\SkyDrive\FOLDERNAME\”

Enter the correct paths for the exact location of the original folder and the current location of the folder in your SkyDrive.

command-prompt-mklink

Windows will then create a symbolic link at the folder’s original location. Most programs should hopefully be tricked by this symbolic location, saving their files directly to SkyDrive.

You can test this yourself. Put a file into the folder at its original location. It will be saved to SkyDrive and sync normally, appearing in your SkyDrive storage online.

sync-external-files-with-skydrive-on-windows-8.1

 

One downside here is that you won’t be able to save a file onto SkyDrive without it taking up space on the same hard drive SkyDrive is on. You won’t be able to scatter folders across multiple hard drives and sync them all. However, you could always change the location of the SkyDrive folder on Windows 8.1 and put it on a drive with a larger amount of free space. To do this, right-click the SkyDrive folder in File Explorer, select Properties, and use the options on the Location tab.

 

source : howtogeek

Previous Post Next Post