URGENT: very quick question about xp and defrag

dpopiz

Diamond Member
Jan 28, 2001
4,454
0
0
how can I set xp home to automatically run defragmenter and scandisk on a schedule?
 

Lord Evermore

Diamond Member
Oct 10, 1999
9,558
0
76
Use the command line, set it with whatever options you want. Just use task scheduler to schedule it, browse to find the appropriate command names. I'll leave it to you to find out exactly what the commands are. XP doesn't have scandisk though, it has "chkdsk", which can't actually make repairs to your system partition while the OS is running, only during bootup. It also doesn't deal well with open files I've found. So scheduling it may be less than helpful.

A program such as Norton Utilities may allow real scheduling of disk checks and defrags, but they only do as good a job as the ones in XP, because they use the same APIs (making NU pretty much just a different GUI for Microsoft's programs). DiskKeeper and other commercial defraggers also allow scheduled defrags.
 

bozo1

Diamond Member
May 21, 2001
6,364
0
0
You can set the Task Scheduler to run defrag.exe from a command prompt.

You can do a Google search and there are alot of scripts out there that do it (again via the Task Scheduler). Here's one I found in about 10 seconds.