The following examples show different ways to defragment a file or group of files and illustrate how to use the common qualifiers. 1. $ DEFRAGMENT FILE *.C This command defragments all files with a .C extension on the user's current default device. That is, the device portion of the directory specification returned from a DCL SHOW DEFAULT command. The RMS default string is [000000...]*.*;*. 2. DFO> DEFRAGMENT FILE *.C This command defragments all files with a .C extension on the user's current default device. The only difference between this command and the previous example is that this command is entered from within the Disk File Optimizer utility instead of from the DCL prompt. 3. $ DEFRAGMENT FILE *.C/VOLUME=SYS$SYSDEVICE: This command is the same as the previous one, except that the RMS default string is now SYS$SYSDEVICE:[000000...]*.C;*. 4. $ DEFRAGMENT FILE SYS$LOGIN:LOGIN.COM;2/EXCLUDE=*.OLD;* This command defragments the user's LOGIN.COM file and excludes all files with a .OLD extension. 5. $ DEFRAGMENT FILE/INHERIT=OTHER_FILE_SCRIPT.NOAFTER This commands creates a file script identical to the OTHER_ FILE_SCRIPT and allows the Disk File Optimizer to name it (DFG$XXX). 6. $ DEFRAGMENT FILE *.RDB/INHERIT=X $_/SCRIPT=Y/VOLUME=SYS$SYSTEM This command creates a script called Y that defragments all RDB files on SYS$SYSTEM. Other script characteristics, such as log file, are inherited from script X.