Showing posts from September, 2014

SCHTASKS creates the task but the task won't run

The Task is Created but Shows the Path Broken into Parts
When you create a task with spaces in the path, the schedule task is created with part of the path in the arguments section.

Using quotes as normal will not fix the problem.


Use the syntax shown below to embed the path within quotes.

schtasks /create /tn "the task" /tr "\"c:\foldername name with spaces\program.exe\" arguments" /sc once /sd 07/29/2003 /st 10:01