FAQ: Q43

Link: http://www.ilopia.com/FAQ/FAQ.aspx?id=43


Can I schedule a defragment?

Yes, Windows Server 2003 has a new command line tool called defrag.exe located in the %systemroot%\system32 folder. You can schedule this to run by using Scheduled Tasks.

Usuage:
defrag <volume> [-a] [-f] [-v] [-?]

<volume> drive letter or mount point (d: or d:\vol\mountpoint)
-a Analyze only
-f Force defragmentation even if free space is low
-v Verbose output
-? Display this help text

Copyright © 2002 - 2004 Kristofer Gafvert