Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a script that shuts down my PC after it completed the procedure.

Preferably inside the standard scripts!

share|improve this question
I can't comment on MyDefrag, but if you're scripting it already, you can follow it with a "shutdown /s" command which is available in XP onwards. – user3463 Oct 21 '09 at 8:57
up vote 1 down vote accepted

Here's how to do it:

  1. Open Settings.MyD
  2. Change WhenFinished(wait) to WhenFinished(shutdown)
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .