I have been playing with this to get it to work for me. What I need is a batch file that I will put into the windows scheduler to shutdown the computer on a daily basis. So far, I have made some piecemeal changes to the above code to set it for 60 seconds and to lengthen the countdown line. I am doing something wrong because it does not act like I planned. I also wish to put an opt out in case a user still would like the computer to not shutdown. This latest should occur while the countdown is in progress. I am attaching what I have done so far. Bill OOP's I am unable to attach a file. So I will copy and paste. @MODE CON: COLS=66 LINES=1 @COLOR E5 @TITLE Countdown @ECHO OFF SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION FOR /F %%# IN ('COPY /Z "%~dpf0" NUL') DO SET "CR=%%#" FOR /L %%# IN (60,-1,1) DO (SET/P "=Computer will shutdown in %%# seconds.Press Y to continue working. !CR!"<NUL: PING -n 2 127.0.0.1 >NUL:)