Windows server 2008 R2 - Task Scheduler 0x1 when running batch files

I have a Windows server 2008 R2 server that I am trying to get a command / batch file to run in a scheduled task.
I have read on the net that there is a problem with command / batch files that contain quotation marks in command line and arguments.
I can run other command / batch files from Task Scheduler that don't have quotation marks and they run fine, but in this instance I need to be able to run a command line that has got.

Does anyone know of a fix or work around to be able to schedule these tasks?
bax2000Asked:
Who is Participating?
 
Darius GhassemConnect With a Mentor Commented:
You created a batch file that calls up the other batch file with same results?  Did you go to options and make sure you have the Start in option configured?
0
 
Darius GhassemCommented:
You need to create a batch file that calls up the other batch file this should bypass the problem.
0
 
bax2000Author Commented:
I did try that, but got the same results.
0
 
bax2000Author Commented:
Start in option helped.
0
All Courses

From novice to tech pro — start learning today.