What is wrong with this call to schtasks on Win 7?
- by Jost
I'm trying to run this in a Win 7 Professional admin console:
schtasks /create /tn "Task at 16:40 on 10/27/2012"
/sc "once" /st "16:40" /sd "10/27/2012"
/tr "c:\python27\python.exe c:\users\jost\Desktop\executeScript.py"
All referenced files exist. The error message I get is
ERROR: The filename, directory name, or volume label syntax is incorrect.
What is wrong? Running the command directly on the command line works fine.