5 replies
by syscokid
You could write a batch or script to run the stuff you want to run, then end the script with the shutdown utility available in the Resource Kit
shutdown /l /y
by dba_sean
by vagab0nd
Use shutdown.exe from Resource Kit.
The syntax is following:
shutdown [\\computer] [/L] [/A] [/R] [/T:xx] ["Msg"] [/Y] [C]
\\computer - shutdowns remote computer
/L - local PC shutdown
/A - aborts shutdown. Works only in timeout period. All other switches ignored
/R - reboot after shutdown
/T:xx - timeout in sec, default is 20 sec
"Msg" - additional message
/Y - answers all following questions Yes
/C - forces all apps to close. Be careful with this switch as you won't see any promt for saving, it will just close all the apps
by dba_sean
by dba_sean
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending