Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I don't like running defrag when I use the computer, so I want to start it before going to bed and let it do its work and have it shut down the computer when it's done.

I haven't find an option for it in the builtin defrag tool. I know 3rd party defraggers can shut down the machine after finishing, but I don't want to install an other program just for that.

Is there a way to do that with the builtin defragger?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

You should be able to create a batch file that runs the defrag and then issues the shutdown command on your PC, no?

Create a batch file that looks something like:

DEFRAG C: /U /V
SHUTDOWN /s /t 00
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.