.bat script doesn't work by using window scheduler

Posted by user332640 on Super User See other posts from Super User or by user332640
Published on 2014-08-21T06:49:25Z Indexed on 2014/08/21 10:23 UTC
Read the original article Hit count: 256

i created a .bat script to perform daily folder compression. it is working fine when i double click the .bat file. However, it doesnt work when i include it in window scheduler.

Below is the script:

rem ****************************
rem ** To create back up file **
rem ****************************
"C:\Program Files\WinZip\WINZIP32.EXE" -a -r -p "E:\Backup\Daily\sst.zip" "P:\SST\*.*"

When i run it via window scheduler, the status is always "running" but nothing is generated. Can someone explain the situation?

© Super User or respective owner

Related posts about Windows

Related posts about batch