automatically run command

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
 
T

Thorsten Matzner

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
 
P

Phil

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top