2009-05-26

Batch file with ampersand in its name won't run under Windows Task Scheduler

I wrote a batch file to run a simple script and then tried to schedule it using the Task Scheduler in Windows Server 2003, but for some reason it just wouldn't run a scheduled, even though I could run it with no problem by double-clicking on the batch file name.

After banging my head against the wall for a while, I finally tried taking the ampersand out of the name of the batch file, and suddenly Task Scheduler was able to run it.

1 comment:

Unknown said...

Me too face the same issue.
Can we overcome that issue.
Any possiblility