View Single Post
Old 05-12-2004, 12:43 PM  
toki
Senior Member
 
Join Date: Oct 2003
Posts: 221
Default

first batch (day):
Code:
xcopy x:\dir\.message y:\store\day\.message /Y
/Y does not ask on overwrite if file exists.
second batch (week):
Code:
xcopy x:\dir\.message y:\store\week\.message /Y
sheduler lines:
Code:
daymsgcopy      = 0 0 * * EXEC ..\scripts\copy\daycopy.bat
weekmsgcopy     = 0 0 * 0 EXEC ..\scripts\copy\weekcopy.bat
would be my smart guess...

if u want the files to be named with day or week... dunno atm. maybe someone has a smart solution for that in batch.
toki is offline   Reply With Quote