Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to start Disk Cleanup by using the command line


View products that this article applies to.

Summary

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

↑ Back to the top


More Information

To start the Disk Cleanup tool and specify the hard disk to be cleaned by using the command line, follow these steps:
  1. Click Start, and then click Run.
  2. In the Open box, type the following command, and then press Enter:
    c:\windows\SYSTEM32\cleanmgr.exe /dDrive 
    Note In this command, the placeholder Drive represents the drive letter of the hard disk to be cleaned. 

↑ Back to the top


Keywords: kbhowto, kb

↑ Back to the top

Article Info
Article ID : 181701
Revision : 2
Created on : 8/1/2019
Published on : 8/1/2019
Exists online : False
Views : 266