Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
348 B

@echo off
echotime /t | sed s/" ".*//g | sed s/^/"set today="/g > today.bat
call today.bat
del today.bat
if "%today%" == "" goto failure
goto docopy
:docopy
deltree /Y f:\%today%
xcopy /e /i /h /r /k d:\ f:\%today%
goto exit
:failure
echo The command on line 4 has failed. Please retry.
:exit