automatically run command

  • Thread starter Thread starter Sam
  • Start date Start date
S

Sam

I want to set the command "C:\WINDOWS\system32
\shutdown.exe -s -t 0" to run at a specific time, but all
I can do through scheduled tasks are programs. How can I
run this command at a specified time? Thanks
 
Sam said:
I want to set the command "C:\WINDOWS\system32
\shutdown.exe -s -t 0" to run at a specific time, but all
I can do through scheduled tasks are programs. How can I
run this command at a specified time? Thanks

Create a Scheduled Task for any application, open its Properties and
overwrite the command-line with the one for SHUTDOWN.EXE
 
Create a new shortcut and in the target put:
%windir%\System32\SHUTDOWN.exe -s -t 0

Then create a scheduled task that runs the shortcut.
 
Back
Top