Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- cls
- IF "%1"=="abort" (
- GOTO abort
- ) ELSE (
- GOTO sd
- )
- :sd
- color 0c
- shutdown -s -t %1
- echo Shutting down in %1
- GOTO End
- :abort
- shutdown -a
- GOTO End
- :End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement