Create Separate Disk Cleanup Profiles.
XP's Disk Cleanup tool, available by clicking on "Free up space on your hard
disk" from the Performance and Maintenance section of the Control Panel, will
clean your hard disk of unnecessary files. You can make the program even more
powerful by creating separate disk cleanup profiles, using the command line
version of the Disk Cleanup tool, cleanmgr.exe. Here's how to do it:
1. First, you'll need to create a disk cleanup profile. Start by typing cleanmgr
/Sageset:n where n is any number between 1 and 65535.
2. The Disk Cleanup Settings screen will appear, allowing you to select which
items you would like to be cleaned using this profile. It offers you more
cleanup options than the version of Disk Cleanup run from the Windows GUI -
you'll be able to automatically remove Debug dump files, Setup log files,
Catalog files for the Content Indexer, temporary setup files, and old Chkdsk
files, among other items that the GUI version of Disk Cleanup won't delete.
However, if you're creating a profile to clean a drive other than the one that
contains Windows, most of these options won't be enabled. You'll only be able to
automatically clean the Recycle Bin and Catalog files for the Content indexer.
3. Select the kinds of files you want to delete, click on OK and the profile
will be created.
4. Next, you need to run the profile you've just created. To run the profile,
type cleanmgr /Sagerun:n where n is the number of the profile you've just
created. You can create multiple profiles for different disks and purposes.
Did this Article Give you the
Information You Were Looking For?