zeldor.biz

Linux, programming and more

Copyright © 2025
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

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok