Help and Support

Windows 95 Defrag.exe Command-Line Parameters

Article ID:155326
Last Review:January 19, 2007
Revision:1.2
This article was previously published under Q155326

SUMMARY

This article lists the command-line parameters for the Disk Defragmenter tool (Defrag.exe) in Windows 95.

MORE INFORMATION

You can use the following command-line parameters with Defrag.exe, either on the Open line in the Run dialog box or within System Agent:
   /ALL          Defragment all local, non-removable drives.

   /F            Defragment files and free space.

   /U            Defragment files only.

   /Q            Defragment free space only.

   /P            System and hidden files will be optimized.

   /CONCISE      Display the Hide Details view (Default).

   /DETAILED     Display the Show Details view.

   /NOPROMPT     Unattended mode; do not stop and display confirmation
                 messages.

   /PMIOCTL      Turns off use of the protected-mode IOCTL from
                 Drvspacx.vxd.

   /SAGESET:n    Display the System Agent-Aware Setting dialog box and
                 store the settings in the SETn registry key.

   /SAGERUN:n    Runs in unattended mode using the System Agent-aware
                 settings in the SETn registry key.
				
The following switches are valid in MS-DOS version 6.x, but are not valid in Windows 95. If you use these switches, they are ignored and no error message is generated:
   /SKIPHIGH
   /LCD
   /BW
   /B
   /GO
				

APPLIES TO
Microsoft Windows 95
Microsoft Plus! 95 Standard Edition

Back to the top

Keywords: 
KB155326

Article Translations

 

Related Support Centers

Other Support Options

  • Contact Microsoft
    Phone Numbers, Support Options and Pricing, Online Help, and more.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.