(de)fragle rock(s)

I want to share another tip with you: defrag your drives regularly. For this you can use the “at” command. It took me a while to work out exactly what I needed to tell “at” to do in order to get my drives defragged. Eventually I came up with this:

 

at 02:00 /EVERY:S cmd.exe /C "defrag.exe D: -v >c:\logfile.txt"

 

Literally at 2:00am every Saturday start a cmd shell and run defrag.exe on the D: drive, produce output and dump this into a logfile.

 

I’ve actually added this to all my machines (different drives are done on different days – you can’t run 2 copies of defrag.exe at the same time)

 

Simple but quite handy.

Published 01 April 07 09:36 by stephtu
Filed under:

Comments

No Comments
Anonymous comments are disabled

Search

Go

This Blog

Syndication

Page view tracker