Knowledge Base

How to Start Disk Cleanup with a Command Line

Article ID: 181701

Article Last Modified on 1/22/2007


APPLIES TO


This article was previously published under Q181701

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.

Additional query words: 98

Keywords: kbhowto KB181701