Defrag command line switches
13 September 2007 by Snakefoot | Comment » | Trackback OffDefrag.exe is a command line tool included with Windows, which is quite useful when wanting to perform a scheduled defragmentation of the hard disk. There are several command line switches available when running the tool:
Related Repair the builtin disk defragmenter
Related Different defragmentation utilities available
More Info MS KB Q283080
More Info Microsoft Windows XP - Defrag
Credits MaximumPCGuides.com
- Show available command line switches:
defrag -?
- Analysis of the partition to discover fragmentation level:
defrag c: -a
- Force defragmentation of the partition (Even if not having 15% free space available):
defrag c: -f
- Defragmentation of only the boot files on the partition:
defrag c: -b
- Display verbose information during defragmentation:
defrag c: -v
- Pause the defrag when the computer is not in idle state (Vista+):
defrag c: -i
- Complete defragmenation that includes all partitions (Vista+):
defrag -c
- Defrag all files independent of size. Performs by default a partial defragmentation excluding files larger than 64 MByte. (Vista+):
defrag c: -w
Related Repair the builtin disk defragmenter
Related Different defragmentation utilities available
More Info MS KB Q283080
More Info Microsoft Windows XP - Defrag
Credits MaximumPCGuides.com
Tags:
Category:
Updated: 23 September 2007