Automating Tasks in Windows XP
This is an excellent topic. I'm going to show you two easy ways to automate tasks in Windows XP. But first let's establish some specifics about what you want to do.
The easiest way to clean temporary folders is to use Windows built in Disk Cleanup Tool which can be started either from All Programs > Accessories > System Tools on the Start Menu or from the command line using cleanmgr. By default this program has a GUI Interface meaning that it displays prompts that require user input in order to run, so before we can automate it we need to create saved settings for it to use so that we don't have to do it manually. This is useful if your schedule your automated task to run when you are not at your computer. Microsoft has already considered this scenario and built the Disk Cleanup Tool with this option.
Saving Disk Cleanup Tool Settings for future use
1. From the Start Menu choose Run...
2. Enter the following cleanmgr /sageset:11
3. Set all of the settings that you would like to run automatically.
Now whenever you want to run Disk Cleanup Tools with these settings you can use the command line cleanmgr /sagerun:11
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.