zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

Shutdown batch

September 25, 2010 by Igor Drobot Leave a Comment

If I go via RDP on some windows server or clients, i hate to run CMD and type “shutdown -s” because the is no traditional shutdown button in the start menu.

I wrote this little batch, and I execute it only to shutdown…

1
2
@echo
shutdown.exe -s -t 10 -c "Now you have 10 seconds to save your work"

@echo shutdown.exe -s -t 10 -c "Now you have 10 seconds to save your work"

Filed Under: Windows Tagged With: bat, shutdown bat