Here's a little trick found in 'I gallery web dev "can be practical.

For example if you plan a virus scan but it could last long and you want to stop after x minute (s) with this method you can either restart it, stop it and also use free time to but there is not much interest from the start menu in this case.

To use it you have a choice between returning the command in the Run window is the fastest method but if it is a task not otherwise regularly or if the stain is due you can create a shortcut that will launch this command when you desire as if you threw a normal program.

I will show that the second example is the shortcut for it is exactly the same for the run command there has just opened the window and you can achieve the same result.

To create a new appointment shortcut on the desktop (Windows + D) then right click => New => Shortcut

A window opens if you wanted to create a shortcut to a normal application would have to click go, but we will return here a simple command line ;)

Copy and paste this line "c: / windows/system32/shutdown.exe-s-t 60" without quotes of course!

Save all your files open and close running applications then click on Next it will offer the shutdown leave the name and then click on finish.

You will then normally on a desktop shortcut named shutdown run by double clicking it.

A message will appear indicating that when the computer shuts down in 1 minute.

Here are other commands that can be made:

  • s: stop
  • r: Restart

Then, you simply replace the number of seconds by 60 and the s / r to run this command.

Update: The command in Windows Vista only allows a range from 0 to 600 seconds then ten minutes in the current Beta version of Windows 7 this interevalle is extended to 10 years.

Technorati Tags:
3 Responses to "Schedule an automatic shutdown of your PC"
  1. Sword says:

    Not bad idea shortcut ;)

    Read more from Sword

    Firefox 3.0: the final version is available

    Today is the day! The new browser from Mozilla, Firefox 3 comes out today (in 45 languages), so do not forget to download your new browser to one, having the [...]

  2. fred said:

    Here I have followed my advice to schedule a closing of windows vista, by cons how do you plan it in an hour, I had to delete the number 60 and put 3600 as 3600 seconds = 1:00 but it does not work not ...

  3. micka39 said:

    Yes, on Windows Vista the maximum interval is 600 seconds which is why 3600 seconds does nothing.
    For a PC running Windows 7, this problem no longer exists.

Reply

Thank you to respect these few rules before posting a comment:

  • Write a message in correct language, ie without using SMS and limiting the spelling
  • He is prohibited from posting messages containing racial slurs, verbal or other
  • It is also prohibited from posting messages containing links to illegal characters
  • And finally avoid going to "troll"
  • Any comments considered spam will be deleted by the author of this blog if it considers as non-compliance of these guidelines or else changed / censored