5 replies
by syscokid
I think you need
shutdown /y
to bypass the prompt.
Type
shutdown /?
at the command propmt to see the full syntax for the shutdown command.
by bill.beckett
by fgarber
Yes. This is the .cmd file we run every night.
rem @Echo off
*********************************************
:START
Echo Starting Shutdwn.cmd (Ver 1.0)...
Echo Starting Shutdwn.cmd (Ver 1.0)...>shutdwn.log
rem *************************************************************************************
rem * Shutdown of Server with a delay to allow time for the spooler service to stop. *
rem *************************************************************************************
c:\Shutdown.exe /L /R /C /T:300 /Y "Machine will shut down in 5 minutes!!!"
:EXIT
The /C tells it to kill all running tasks
by bill.beckett
by bill.beckett
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending