----------------- MS-DOS v6.22 Help: DRVSPACE /DEFRAGMENT ------------------
<Notes> <Examples>                                                   <Index>
----------------------------------------------------------------------------
 
                            DRVSPACE /DEFRAGMENT
 
Defragments the selected compressed drive. Defragmenting a compressed drive
consolidates the free space on it. If you are planning to reduce the size of
a compressed drive, you should first use the Defragment command to
consolidate the drive's free space. You can then make the drive smaller than
you could if you did not first defragment it.
 
Syntax
 
    DRVSPACE /DEFRAGMENT [/F ] [drive:]
 
Parameter
 
drive1:
    Specifies the drive you want to defragment. This parameter is optional;
    if you do not specify a drive, DriveSpace defragments the current
    drive.
 
Switches
 
/DEFRAGMENT
    Directs DriveSpace to defragment the specified drive. This switch can be
    abbreviated as /DEF.
 
/F
    Enables the specified drive to be defragmented more fully. For more
    information about using the /F switch, see Notes.
 
                                      ***

<Syntax> <Examples>
----------------------------------------------------------------------------
 
                       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.
 
                                      ***

<Syntax> <Notes>
----------------------------------------------------------------------------
 
                      DRVSPACE /DEFRAGMENT -- Example
 
To defragment compressed drive D, you would type the following at the
command prompt:
 
    drvspace /defragment d:
 
To defragment the current compressed drive, type the following command:
 
    drvspace /defragment
 
To defragment compressed drive C as much as possible, type the following
commands:
 
    defrag c:
    drvspace /defragment /f c:
    drvspace /defragment c:
 
                                      ***

----------------------------------------------------------------------------
<Top of page>
Last update: June 14, 2000 06:20 EST by -vjf-
Content © 1997 Microsoft Corporation
All else © 2000 Vernon J Frazee
Counter