hey
I have a .bat witch is using a script file (waRmZip.wsf) to delete files older than a certain number of days in a folder
I've added it to my .exe and here is the code i've put in my bat:
%MYFILES%\waRmZip.wsf /r "D:\Sauvegarde_1\" /da:5 /df /q
I compiled it and it doesn't seem to work...
Anyone can tell me where I'm wrong?
Thx
Edited By Dude on 1164419003
%MYFILES% problem...
-
- Site Admin
- Posts: 307
- Joined: Fri Feb 13, 2004 5:55 pm
- Contact:
Hi Oleg -
I think I have found the problem. After recompiling my scripts with the new 2.1.5.0 version, many of my scripts didn't work correctly. After reviewing my job logs, I was able to at determine that command line switches are not passed to the batch jobs. In my case, I use Windows Scheduler, and could clearly see the command line switches that my logs indicated were missing in the Scheduler's command line; which I didn't edit or change since version 2.0.8.5. Examples of my particular switches would be: batch.exe /o option /f name. I then recompiled all of the batch jobs with version 2.0.8.5 and all now work.
I hope this helps,
Wayne
I think I have found the problem. After recompiling my scripts with the new 2.1.5.0 version, many of my scripts didn't work correctly. After reviewing my job logs, I was able to at determine that command line switches are not passed to the batch jobs. In my case, I use Windows Scheduler, and could clearly see the command line switches that my logs indicated were missing in the Scheduler's command line; which I didn't edit or change since version 2.0.8.5. Examples of my particular switches would be: batch.exe /o option /f name. I then recompiled all of the batch jobs with version 2.0.8.5 and all now work.
I hope this helps,
Wayne