Friday, August 17, 2007

DOS-Defragment disk


`defrag` - Windows Disk Defragmenter

Usage:
defrag [-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


EXAMPLE:

C:\>defrag c:
Windows Disk Defragmenter
Copyright (c) 2003 Microsoft Corp. and Executive Software International, Inc.
Analysis Report 16.00 GB Total, 8.11 GB (50%) Free, 9% Fragmented (17% file fragmentation)Defragmentation Report 16.00 GB Total, 8.11 GB (50%) Free, 9% Fragmented (16% file fragmentation)

C:\>defrag -a c:
Windows Disk Defragmenter
Copyright (c) 2001 Microsoft Corp. and Executive Software International, Inc.
Analysis Report

37.24 GB Total, 9.70 GB (26%) Free, 8% Fragmented (15% file fragmentation)

2 comments:

Anonymous said...

we are thinking of switching to some automatic solution to handle the fragmentation rampant on our busy servers. Workstations also would benefit from remote installation. Its like an epidemic over the systems, resulting in jerky performance on a day to day basis.

mrtiger said...

Please explain in details how to switching to automatic solution.
Thanks.