Sign in with
Sign up | Sign in
Your question

script that force-starts offline file sync?

Last response: in Windows XP
Share
April 8, 2008 10:51:39 AM

We use the XP offline files sync service at work, but it only syncs when you turn the computer completly off. If i wanna take the laptop to a meetingroom I dont wanna do the entire shutdown/reboot process.

Is there a script / cmd that forcestarts the sync that takes place when you turn the computer off?
(the "tools -> sync" and programs -> accesories -> sync doenst work. (It doenst show the offline folder))

I dont know if those options are diffrent from what happens if you do a shut-down sync, but thats what im after. A "shortcut" to start the shutdown sync, without rebooting.

April 8, 2008 12:24:28 PM

If you can call the sync from a batch file then this is easy.

Here is a script I wrote for myself so when I went to bed It didn't matter if I fell a sleep before the program had finished. It is to basically play an episode of friends in media player and shutdown the PC when it ended
April 8, 2008 12:30:46 PM

Sorry I forgot to add the script. I have added it at bottom of this reply. It loads a program with above normal priority. You can tinker around with it and substitute media player to call your off line files sync. The bit in Quote marks is a screen message to yourself and can say anything. The time is in seconds so substitute the 1500 to say as many seconds as you want.

Start a new txt document on the desktop and copy the txt I have into it and change the media player bit, the message in quotes and the timings and then save and close. Rename it to Offline sync.bat you will get a message about changing the file type just agree to it. Paste everything after now:

@Echo Off
shutdown -c "Controlled System Shutdown in 1500 seconds (25 mins)" -s -f -t 1500
start /AboveNormal C:\"Program Files"\"Windows Media Player"\wmplayer.exe %1 %*
exit
Related resources
April 8, 2008 12:32:42 PM

I suggesst you do another batch file in the same manor to cancel everything if you change your mind. It also works for that virus that brings a message and says it is shutting the system down in so many seconds.

Just create the batch file and rename it to abort.bat add the following txt:

shutdown -a
exit
April 29, 2008 11:53:08 AM

thanks, but not quite what I ment.

You told me how to launch a script if I had it, but I am askinf for the script that actualy does the syncronizing.

If no such thing exists, are there any other 3rd party software that can start the offline-files sync without rebooting?
May 13, 2008 8:53:41 PM

Harlequinn - there is a 2003 Server Resource Kit utility called csccmd.exe. It gives you the ability to manage your client side cache (the store where your offline files are kept). One feature is to make you work offline. See the following article: http://support.microsoft.com/kb/884739

good luck
!