innocent1973
asked on
SCHTASK
Hello Experts,
I am trying to create a scheduled task by using command prompt. My trying is such below:
schtasks /create /sc minute /mo 2 "test" /tr c:\\Program Files\test.exe
But unfortunately it doesnt work. How can I set the correct path by using this command line?
I am trying to create a scheduled task by using command prompt. My trying is such below:
schtasks /create /sc minute /mo 2 "test" /tr c:\\Program Files\test.exe
But unfortunately it doesnt work. How can I set the correct path by using this command line?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for your reply.
I tried your code but it still did not work.
I tried your code but it still did not work.
I ran it here and it did crate the scheduled task, what are the symptoms of the problem you are having?
~bp
~bp
schtasks /create /sc minute /mo 2 /tn "test" /tr "c:\Program Files\test.exe"
~bp