I'm writing a small app that generates the contents of a batch file, using SCHTASKS to create scheduled tasks. However, I simply cannot get the file path working correctly. I need another set of eyes.

```
SCHTASKS /CREATE /TN "TASK1" /TR "\"C:\Program_Files\Spybot - Search & Destroy\SpybotSD.exe\" \AUTOCHECK \AUTOFIX \AUTOCLOSE" /ST 01:00:00 /SC Daily /RU MyUser /RP MyPass 

```

I've looked at other threads here, and MS documentation, and I think I have that formed correctly. However, it fails with the output:

> 
> ERROR: Invalid syntax. Mandatory option '/sc' is missing.  
> 
>  Type "SCHTASKS /CREATE /?" for usage.  
> 
>  The system cannot find the path specified.
> 
> 
> 

I could use some advice here.