Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to write a bat script to have the same functionality as mentioned in this [article][1]

[1]: .

What would be the steps/commands used for fast syncs ?

share|improve this question
Will this work on a XP Home edition machine? – iceman Oct 24 '09 at 5:54
Good question! So that I understand the question - you're looking for a script that adjusts some specified folders desktop.ini so that it will get synchronised for offline use? – DaveParillo Oct 24 '09 at 6:22
Do you want your solution to be free? What are you willing to pay for a 'windows native' solution? – DaveParillo Oct 24 '09 at 6:40
I want similar functionality because I have trouble when explorer crashes – iceman Oct 24 '09 at 9:16

Doing that in a batch script would be fairly challenging to say the least.

Why not use rsync -avz? It's free at least, and rsync is quite fast, as it performs differential backups.

share|improve this answer

Doing this in a .bat file would indeed be challenging. But, why not create a batch file to run the .vbs? Would that suit your purpose? If so, create a blank .bat file and put the following inside:

cscript NameOfVBSFile.vbs /

Where NameOfVBSFile.vbs is the... name of the VBS file you want to run and where are the switches you need for the VBS to do its job.

As for the .vbs, try one of these:

Sync entire cache:

Sync specific UNC path: replace last part of URL with cscsync-vbs-sync-a-particular-unc-path.aspx (new user, so says I can only post one URL as some sort of anti-spam control)

Best of luck, Chris

share|improve this answer
The vbs script in the link applies to vista/windows 7, not for xp. – Giri Jul 19 '12 at 7:46

'csccmd /fill' can be used to sync offline marked shares.

More info on csccmd is here:

share|improve this answer
thanks..after 2 years i use win 7 now – iceman Jul 22 '12 at 6:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .