CD in a batch script called by the at task scheduler?
Posted on 2004-08-04
I got some problems with a batch script I wrote.
The intent is to backup a few files.
So Im trying to cd to a directory, zip it (my zip app requires to go to the parent directory), and copy it to a "secure" place.
So, when I start it manually, everything works fine.
Where from I start the batch script does not matter.
But when I create a task to run it every day, the script fails.
I have narrowed the problem down to the task no accepting cd commands in a batch script.
So why is that so, and how can I work around that?
PS: Im bound to use that zip app...