Stay on top of the latest XP tips and tricks with our free Windows XP newsletter, delivered each Thursday. Automatically sign up today!If you run Windows XP's Disk Cleanup utility regularly in order to keep your hard disk free from clutter, you may have wished that there was a way to save your settings so you wouldn't have to reconfigure the utility each time you run it. Fortunately, there is a method for saving your settings, but the steps for doing so are undocumented. Here's how:
In this command line, Cleanmgr is Disk Cleanup's executable file name; /d x: is the letter of the drive you want to clean; /sageset is a special configuration command that tells Disk Cleanup to save the settings in the registry; and # is a unique number from 0 to 65,535 that designates a unique configuration settings file. For example, you could create your first configuration settings file for drive C by typing Cleanmgr /d C: /sageset:1 in the Open text box.
In this command line, Cleanmgr is Disk Cleanup's executable file name; /sagerun is a special configuration command that tells Disk Cleanup to retrieve the saved settings from the registry; and # is the number you used to designate your configuration settings file.
Greg Shultz is a freelance Technical Writer. Previously, he has worked as Documentation Specialist in the software industry, a Technical Support Specialist in educational industry, and a Technical Journalist in the computer publishing industry.