//flex table opened by JP

Click to See Complete Forum and Search --> : Easy way to defrag your hard drive using window disk defragmenter


ATI RADEON 8500
10-14-2006, 03:19 PM
Discovered this while reading the October 2006 PC World magzine at my libary.

Turns out you can Defrag your hard drive automanicly using the Window Disk Defragmenter simply by doing this.

Open Notepad and type in
defrag.exe C: -f -v >"e:\doc\defrag report_c.txt"
defrag.exe D: -f -v >"e:\doc\defrag report_d.txt"

Your drive letter may differ.
The second command line are for computer with multiple hard drive.
-f forces the defragmenter to defrag the hard drive anyway
-v get all details avaiable
> "e:\doc\defrag report_c.txt saves the details to the hard drive of your choice

Then save the notepad as .bat or .cmd

Finially open Scheduled Tasks and set it to run the .bat or .cmd whenever you wish. And voila it'll run automanicly anytime you wish it to run.

Steve R Jones
10-15-2006, 09:53 AM
And in the for what's it's worth catagory, Vista's defrag has a built in schedular.