REM Run SVN on this folder to get updates echo Running SVN update on scripts folder svn update REM Run the sync script. Requires PHP, obviously echo Running sync script c:\php\php.exe c:\scripts\sync.php >> sync_log.txt REM ...and relax REM psshutdown from sysinternal PsTools package. REM This sends to hibernate with a 1 second timeout c:\bin\psshutdown.exe -h -t 1