Cougar Mountain Software Support Productivity Tools

For Cougar Mountain Software Support's
Professional Version (V2009/10, V12, V11, V10, V9, V8 & V7)

Automate Disk Cleanup
 

Posted 2/13/2003 by TweakXP Member

 

Cleanmgr.exe is designed to clear unnecessary files from your computer's hard disk. You can use command-line options to specify that Cleanmgr.exe cleans up certain files. You can then schedule the task to run at a specific time by using the Scheduled Tasks tool.

To start the Disk Cleanup tool, either run the Cleanmgr.exe command, or click Start, point to Programs, point to Accessories, point to System Tools, and then click Disk Cleanup.

Disk Cleanup supports the following command-line options:

  • /d driveletter: - This option specifies the drive that you want Disk Cleanup to clean.
  • /sageset: n - This option displays the Disk Cleanup Settings dialog box and also creates a registry key to store the settings that you select. The n value, which is stored in the registry, allows you to specify tasks for Disk Cleanup to run. The n value can be any integer value from 0 to 65535. To have all of the options available when you use the /sageset option, you might need to specify the drive where Windows is installed.
  • /sagerun: n - This option runs the specified tasks that are assigned to the n value if you use the \sageset option.

    For example, in Scheduled Tasks, you could run the following command after you run the cleanmgr /sageset:11 command:

    cleanmgr /sagerun:11

    This command runs Disk Cleanup and includes the options that you specified with the cleanmgr /sageset:11 command.

 

For more info, please fill the info below, call us on (714) 228-5444 or fax us at (800) 531-2944.


Name
Title
Organization
Work Phone
FAX
E-mail   
URL  

 

CougarMtnSupport.com - CougarMtnSupport.com - Product List Cougar-Magic

CougarMtnSupport.com - Table of Contents relating to Cougar Mountain Software Support Cougar-Magic

Please let us know what info we can send you now and what are the areas that are of most important to your organization.
 


Please fill in below, or call us on (714) 228-5444 or fax us at (800) 531-2944...

First Name :
Last Name :
Title :
Organization :
Work Phone :
FAX :
E-mail :                                          
URL / Website:
Number of Concurrent Users:  

What info can we send you?

 

email us at sales@CougarMtnSupport.com  //  phone (714) 228-5444.

(We are not Cougar Mountain Software in Boise, we take their excellent product and make it better.   We offer software products, enhanced reports, services, training and hardware that maximize the value out of this powerful accounting program.  We have been customizing solutions for Cougar Mountain since 1990.  We are located in California.