Reorganizes the files on a disk to optimize disk performance. Do not use
this command when Windows 2 or 3.x is running (note: Win9x no problems.)
DEFRAG [drive:] [/F] [/S[:]order] [/B] [/SKIPHIGH] [/LCD | /BW | /G0]
DEFRAG [drive:] [/U] [/B] [/SKIPHIGH] [/LCD | /BW | /G0] [/H]
Specifies the drive that contains the disk you want to optimize.
Defragments files and ensures that the disk contains no empty spaces
Defragments files and leaves empty spaces, if any, between files.
Controls how the files are sorted in their directories. If you omit this
switch, DEFRAG uses the current order on the disk. The colon (:) is
optional. The following list describes each of the values you can use to
sort files. Use any combination of the values, and do not separate these
values with spaces.
In alphabetic order by name
In reverse alphabetic order by name (Z through A)
In alphabetic order by extension
In reverse alphabetic order by extension (Z through A)
By date and time, earliest first
By date and time, latest first
By size, smallest first
By size, largest first
Restarts your computer after files have been reorganized.
Loads DEFRAG into conventional memory. By default, DEFRAG is loaded into
upper memory, if upper memory is available.
Starts DEFRAG using an LCD color scheme.
Starts DEFRAG using a black and white color scheme.
Disables the graphic mouse and graphic character set.
Moves hidden files.