1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cmd shutdown timer program ..!!

Discussion in 'Ethical hacking' started by withinlightning, Oct 12, 2010.

  1. withinlightning

    withinlightning Banned

    Joined:
    Oct 1, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    student
    Location:
    Pakistan
    it may help you a little ...!!!
    write in notepad and save as filename.bat

    @echo off
    set /p x="Enter shedule time to turn off your pc(min):"
    set /a y=%x% * 60
    echo.
    set /p c="Enter comments:"
    shutdown -s -f -t %y% -c %c%
    goto :eof

    to abort shutdown process
    type this
    shutdown -a

    and save it in the same manner.

     

Share This Page