The Thread Killer MKIII

Status
Not open for further replies.
@echo off
color 0A
title Shutdown Work

:start
echo What would you like to do?
echo.
echo 1. Shutdown i want to go home
echo 2. Shutdown now
echo 3. Restart now
echo 4. Kill Employer now
echo 5. eat now
echo.
echo 0. Quit
echo.

set /p choice="Enter your choice: "
if %choice%==1 goto Shutdown i want to go home
if %choice%==2 shutdown -s -f
if %choice%==3 shutdown -r -f
if %choice%==4 shutdown -l -f
if %choice%==5 shutdown -h -f
if %choice%==0 exit
echo Invalid choice: %choice%
echo.
pause
cls
goto start

:shutdown for gawd sake
cls
set /p sec="6 hours 30 Minutes until shutdown: "
set /a min=60*%sec%
shutdown -s -f -t %min%
echo Shutdown initiated at %time%
echo.
set /p cancel="Type cancel to stop shutdown "
if not %cancel%==cancel exit
shutdown -NOW FFS
cls
echo.
pause
exit
 
/sigh

If she asks me one more time how I did this or that in this piece of software that I'm still figuring out myself!!!
 
Status
Not open for further replies.
Back
Top