Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


  • Content count

  • Donations

  • Joined

  • Last visited

Community Reputation

0 Neutral

About blockie

Profile Information

  • OS
    Windows 7 x86
  1. I know there is a second page because I posted there once, but I cannot find a way to get there. I would like to see answers..
  2. I've had it this way for several months and it worked fine, however I wanted to put a way out for the user and pretty it up some. Thanks.
  3. Works perfectly now. All I need to do is put it in the scheduler. Thanks a bunch.
  4. GunSmokingMan, Thanks for your idea. It's just what I need. When I edit the command where the timer reaches zero I replaced the line you identified as the place to put the action code. I put in the following.....C:\windows\system32\shutdown.exe -s -f -t 00 Did not work here although it works in the windows scheduler. I am not versed in HPA or VBS so it is very difficult for me to edit your script. I'm also 83 years old and a bit slow. So please bear with me.. Also when I run the attached file the Close Button is not to be seen. Bill
  5. 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 >NUL:)