Windows Tips: Superscrub Your Drive Automatically
Automate disk maintenance, speed up printing from your laptop.
Scott Dunn
With HP wireless printers, you could have printed this from any room in the house. Live wirelessly. Print wirelessly.
For years, Windows NT users have been able to use the command line to delete temporary files automatically. Now Windows 2000 and Windows Me let you fine-tune the process by using the Disk Cleanup tool's Task Scheduler to perform such disk-keeping chores as emptying the Recycle Bin and deleting offline network files, cached Internet files, and indexed catalog files.
Choose Start, Run, type cleanmgr /sageset:1, and press Enter. The number 1 in the command line can be changed to any number you choose from 0 to 65535, each representing a separate custom cleanup style that you can record and invoke at any time. In the Disk Cleanup Settings dialog box, check the items you want deleted. When you're done, click OK to store the settings in the Windows Registry. To make Disk Cleanup run with the new settings, choose Start, Runand type cleanmgr /sagerun:1 (replacing 1 with the number you specified in the /sageset switch). Note: When you customize Disk Cleanup this way, it unfortunately acts on all drives rather than prompting you for a specific drive to clean up.
You can, however, use this technique to create a shortcut containing custom cleaning settings. For example, to make a shortcut that deletes only Internet Explorer cache files, enter cleanmgr /sageset:2 (or another number) in the Run box as explained above, and press Enter. Check Temporary Internet Files and confirm that everything else remains unchecked. Then click OK. Next, right-click the desktop (or the folder that will hold your cleanup shortcut) and choose New, Shortcut. In the command line, type cleanmgr /sagerun:2 (use the same number here that you used earlier), and click Next. Type a name for your shortcut such as Destroy IE Temp Files, and click Finish. Next time you double-click the icon, your temporary Net files will be history.
To make Windows delete these files automatically at a preset time, choose Start, Programs, Accessories, System Tools, Scheduled Tasks. Select the icon you just created and drag it into the Scheduled Tasks folder window. Double-click the icon, click the Schedule tab, and specify when you want your custom cleanup shortcut to run. Then click OK and close the Scheduled Tasks window. Henceforth, your custom cleanup will occur on the schedule you established.
For more information, check out last February's Windows NT column.
- Page 1 of 4
- Next ยป
Laptop Showcase
PCW Download Guide
Related Operating Systems Articles
- Microsoft to Buy up to $100M in Support Vouchers It continues a cross-licensing deal between Novell and SUSE Linux.
- How to Clean Your Windows Registry and Speed Up Your PC A cluttered Registry can slow Windows to a crawl, but cleaning it up effectively isn't easy. Steve Bass reviews some of the leading Registry cleaners, and offers tips to help you get your Registry down to size and improve your PC's performance.
- Microsoft Sends Up Trial Balloons for Windows 7 While Vista takes a beating in the press, Microsoft seems increasingly willing to disclose details of its forthcoming OS.
- Microsoft May Use 2,000 Developers for Windows 7 25 'feature teams' to work on different facets of the replacement to Vista OS.
- Use an AppleScript to Force a Desktop Picture Change You may use the Mac OS X feature in the Desktop preferences to have your desktop images set to change every n minutes in...
Best Prices on Antivirus Software
Anti-Virus 7.0 (Electronic Software Distribution)Price: $29.95
VirusScan Plus 2008 - 3-User (Full Product)Price: $7.24
AntiVirus 2008 (Full Product)Price: $14.95
Internet Security 2008 - 3 Users (Full Product)Price: $19.95
Norton AntiVirus 2008 - 3 UserPrice: $39.49
Anti-Virus 7.0 (Full Product)Price: $21.00
- CDW Virtualization Center What is Virtualization and how can it help you save money? Click here to find out.
- Asus Laptop Showcase Ultra-fashionable thin and light notebooks with SmartLogon Face Recognition. Find out more...
- HP Ink Center Bring improved color and brilliance to your printed material. Visit the Resource Center for more info...







