I am attempting to create a schedule task using a vbs. I am getting an error
Microsoft VBScript compilation error: Expected ')'
I tried quotes but it doesn't work. Any help would be very appreciated.
WshShell.Run ("SCHTASKS /create /tn "MAint" /tr "\""c:\test.exe\" /sc daily /sd 12/29/2008 /st 06:00:00 /RU domain\username /RP Password"")
I can run the command from the command line with a problem.
Microsoft VBScript compilation error: Expected ')'
I tried quotes but it doesn't work. Any help would be very appreciated.
WshShell.Run ("SCHTASKS /create /tn "MAint" /tr "\""c:\test.exe\" /sc daily /sd 12/29/2008 /st 06:00:00 /RU domain\username /RP Password"")
I can run the command from the command line with a problem.