How to Start Disk Cleanup with a Command Line

Article translations Article translations
Article ID: 181701
Expand all | Collapse all

Summary

This article describes how to start the Disk Cleanup tool and specify the hard disk to clean by using a command line.

More information

To start the Disk Cleanup tool and specify the hard disk to clean by using a command line, use the following steps:
  1. Click Start, and then click Run.
  2. In the Open box, type the following line and then press ENTER

    c:\windows\cleanmgr.exe /d<drive>

    where <drive> is the drive letter of the hard disk you want to clean.

Properties

Article ID: 181701 - Last Review: June 22, 2014 - Revision: 3.0
Keywords: 
kbhowto KB181701

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com