Results 1 to 9 of 9

Thread: Make a shutdown timer for your comp.

  1. #1
    Join Date
    Jun 2007
    Posts
    410
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Make a shutdown timer for your comp.

    i posted this earlier in another thread and decided to post it here in tut island too : )


    if you guys just want to run a certain amount of definite hours till your computer shuts down then..

    1. open notepad
    2. copy paste this in

    SCAR Code:
    shutdown -s -t 14400 -c "computer shutdown"

    3. after the t is the amount of seconds the computer will stay on. right now its set for 4 hours. 4*60*60=14400.

    4. then save the file as shutdowncomp.bat

    5. then just click on the file and a timer will begin. and there you go.

    6. to change the time after you already saved it just right click on the shutdowncomp icon and click on edit and just change the amount of seconds. REMEMBER ITS ALWAYS TIME IN SECONDS!

    7. oh and if you change your mind and want to get rid of the timer just do this.

    go to START > run> then type in shutdown -a and the timer will disappear.

    yup : )

  2. #2
    Join Date
    Mar 2008
    Location
    Indiana
    Posts
    192
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    1. Fix all grammar mistakes.

    2. Get some pictures...

    SCAR Code:
    If(AboveIsCompleted = True)then
      writeln('Good job you actually did something right  (NO OFFENCE)');

    Woot First post

  3. #3
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    He doesnt need any pictures.. This is so INSANELY simple that if you need pictures for this you were dropped on your head QUITE A FEW times as a kid..

  4. #4
    Join Date
    Mar 2008
    Location
    Indiana
    Posts
    192
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    1. Pictures make it look 300% more professional...

    2. If he's not going to get some pictures then just fix the grammar mistakes...

    [Off-Topic]

    In Soviet Russia, party finds YOU!!!
    [/Off-Topic]

  5. #5
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm posting my ShutDown procedure, if anyone wants to look at it..

    SCAR Code:
    {*******************************************************************************
    procedure Terminate;
    By: EvilChicken!
    Description: Terminates the script and shuts down the computer.
    *******************************************************************************}

    procedure Terminate;
    begin
      WriteLn('Shutting down your PC, to stop it go to:');
      WriteLn('Start -> Run -> type in ''shutdown -a''');
      PlaySound('C:\WINDOWS\Media\Windows XP Shutdown.wav');
      Wait(1000);
      // ResetDc; [if using S.M.A.R.T. Works!]
      Wait(1000);
      KeyDown(92);
      Wait(200);
      KeyDown(82);
      Wait(200);
      KeyUp(82);
      Wait(200);
      KeyUp(92);
      Wait(2000);
      SendKeys('%windir%\System32\shutdown.exe -s -f -t 00');
      Wait(1000);
      KeyDown(13);
      Wait(200);
      KeyUp(13);
    end;


  6. #6
    Join Date
    Jun 2007
    Posts
    410
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    haha omg grammar? i'll fix it later. And ya, its pretty self explanatory, but if you must, i'll include some pictures also. and I'll work on my grammar... lol

  7. #7
    Join Date
    Aug 2008
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    When shutting down with cmd, I think that the computer restricts my time within a particular limit, way lower than that specified by you.

    Is there any way to fix it?

    Help appreciated

  8. #8
    Join Date
    Oct 2008
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You can also do shutdown -i to shut other computers :P

  9. #9
    Join Date
    Nov 2006
    Posts
    235
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Windows XP allows up to two characters of seconds for the shutdown command.


    Also, on XP, the flag is -m to shutdown remote computers.

    Example:
    Code:
    shutdown -s -f -m \\computername -t 00
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig
    http://www.stats.srl-forums.com/sigs/5612.png
    http://www.wizards.com/magic/images/...or_iswhite.jpg

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Tutorial - HOW TO MAKE A OWN SHUTDOWN VIRUS!
    By Riffe in forum Computer Help and Tutorials
    Replies: 5
    Last Post: 11-28-2008, 03:57 PM
  2. Shutdown pc.
    By Johura in forum RS3 Outdated / Broken Scripts
    Replies: 18
    Last Post: 06-30-2008, 08:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •