Syncing SkyDrive Folders on a Desktop [Day 14]

So Syncing on the Surface RT seems to be sufficient. However the same cannot be said for the desktop folder synchronisation. It is not an instant process and there seems no way to actually force a synchronisation.

So a rough workaround….
Creating and deleting a folder will force a synchronisation – so this begs the question “can a batch file automate the process”? Yes it can….

  • Move to your SkyDrive location
  • Open up notepad and type in the following: (edit the two file locations to reflect your own SkyDrive Location –  e:\skydrive\TempSyncFolder )

@echo off
cls
Echo Creating TempSyncFolder Folder
mkdir e:\skydrive\TempSyncFolder

TIMEOUT /T 3
Echo Removing TempSyncFolder Folder
rmdir /s /q “e:\skydrive\TempSyncFolder”

  •  Save as “z Sync SkyDrive. bat” in your SkyDrive Location (the Z is purely to keep the file at the bottom of the file hierarchy for easy access)
  • Double clicking on the file will cause a folder to be created and, after a three second delay, removed – forcing a synchronisation.

You could add this to scheduled tasks to automate the process further.

Note: Although my Batch file states the E:\ drive the screen shot indicates the Z:\ drive – this is beacuse I have shared and mapped the E:\ drive location to Z:\ so that my SkyDrive folder shows up in “Computer” easily. The mapping is in no way connected with name of the batch file.

Andy

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s