help.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
DRVSPACE /DEFRAGMENT -- Notes
Examples  Syntax
────────────────────────────────────────────────────────────────────────────
 
                       DRVSPACE /DEFRAGMENT ── Notes
 
Difference between DRVSPACE /DEFRAGMENT and the DEFRAG command
 
The <DEFRAG> command optimizes disk performance by reorganizing the files on
a drive. You can use DEFRAG to optimize uncompressed drives. Although you
can run DEFRAG on a compressed drive, doing so will probably not improve
your system's speed.
 
Unlike the DEFRAG command, the DRVSPACE /DEFRAGMENT command does not speed
up your system. DRVSPACE /DEFRAGMENT simply consolidates a compressed
drive's free space so that all the free space is at the end of the
compressed volume file. This provides the fullest utilization of your disk
space, and also enables you to reduce the size of the compressed drive more
than you otherwise could.
 
Thoroughly defragmenting a compressed drive
 
To defragment a compressed drive as much as possible, use both the DEFRAG
command and the DRVSPACE /DEFRAGMENT command, as follows:
 
1. Defragment the drive by using the DEFRAG command.
 
2. Defragment it again by using the DRVSPACE /DEFRAGMENT /F command.
 
3. Defragment it a third time by using the DRVSPACE /DEFRAGMENT command
   without the /F switch.
 
                                      ♦