Windows Tip: Defrag From the Command Line in XP:
You can defrag XP from the command line for more options.
It's a good idea to defrag your hard drive on a regular basis.
You can set defrag to run from the command prompt in XP.
Make sure you have administrator access.
[Start] [Run] [cmd]
At the prompt, type "defrag" followed by the volume letter (c:), then one of these switches:
(a) to analyze your volume.
(f) to force the defrag even if your free space is low.
(v) to get a verbose output.
(b) to optimize your boot files to speed up your boot process.