CLEANMGR.EXE (Disk Cleanup)
Automated cleanup of Temp files, Internet files, downloaded files, recycle bin (XP). Syntax
CLEANMGR option
Options
/d driveletter: - Select the drive that you want Disk Cleanup to clean.
/sageset:n - Display the Disk Cleanup Settings dialog box and create
a registry key to store the settings you select.
The n value is stored in the registry and allows you to
specify different tasks for Disk Cleanup to run.
n can be any integer from 0 to 65535.
Specify the %systemroot% drive to see all the available options.
/sagerun:n - Run task 'n'
All drives in the computer will be enumerated, and the
selected profile will be run against each drive.
Only one of the 3 options above can be run at a time
Examples
CLEANMGR /sageset:64
CLEANMGR /sagerun:64
Options that can be chosen for cleanup:
Temporary Internet FilesTemporary Setup FilesDownloaded Program FilesOld Chkdsk FilesRecycle BinTemporary FilesTemporary Offline FilesOffline FilesCompress Old FilesCatalog Files for the Content Indexer
Items in bold may appear in more than one drive i.e not just in %SystemRoot%
If you want to choose the options automatically, without any user interaction then run a registry script like thise.g.
REGEDIT /S cleanmgr.reg CLEANMGR /sagerun:64
Note: Applicable for window vista/windows xp/2000
Welcome to http://www.techinformationguide.blogspot .com(http://www.techziba.com)
Hi, My name is Saurabh. I have created this block for all the people whose getting a lot of problems with their computers. I have posted some articles for you, hopefully that will help you for resolve your problem. I will wait for your response.
Thank you in advance and best of luck to all of you .......
Monday, February 2, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment