Saved Bookmarks
| 1. |
Solve : Query regarding my backup script ...? |
|
Answer» Hello all, for /f %%i in (%TempFile%) do call %0 CheckNumOfBackups %%i Quote :CheckNumOfBackups This appears to be the code where the message is issued. Does not a call to %0 create a recursion problem? TRY turning echo on to trace what value %%i has. I couldn't find any code specific to Tuesday, only Sunday and Monday. The message is not logical (Only completed 4 of the 3 backups attempted.) so I would try debugging files left over from previous run that shouldn't exist for this run. Quote set Date=%%l-%%k-%%j Suggest not using reserved words or command NAMES for your variables. Results can be unpredictable. Hi SIDEWINDER, Many thanks for the reply & taking the time to peruse the script. I'll take all onboard your comments and have a further look after the New Year starts. In the mean time - have Merry Christmas and a happy New Year. Cheers, Cameron |
|