To configure a profile run the following command (Where N is a profile number from 0-65535):
To run a configured profile number (N) run the following command:cleanmgr /sageset:N
This can be used to create a shortcut to clean up Temporary Internet Files, or schedule a weekly cleanup of the Recycle Bin using the Task Scheduler, or if using Windows 2000, XP schedule to Compress old files.cleanmgr /sagerun:N
Note Win98/WinMe can also use profiles for configuring defrag and scandisk for scheduling.
Note Win2k/WinXP includes a new feature that Compress old files not used the last ? days, by using NTFS compression (blue files). Even if having this option disabled it might still do "Scanning: Compress old files", which can be slow and make it hang for a long time (It is also activated when doing a defrag). To disable it by force, delete the following registry keys (Make an export first):
More Info MS KB186099[HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \Windows \CurrentVersion \Explorer \VolumeCaches \Compress old files]
[HKEY_LOCAL_MACHINE \SOFTWARE \Classes \CLSID \{B50F5260-0C21-11D2-AB56-00A0C9082678}]
More Info MS KB812248
More Info MS KB886219
More Info MS KB253597
More Info MS KB269020
More Info MS KB310312
Credits nightcourses.com
How about cleaning out all the files that are normally part of a win98 installation but which aren't really needed? win98lite is down around 20meg or something. My win98 installation is using 250Meg of a 340Meg Hard Drive on my young child's computer. He's now down to 5meg of free space. If I could chuck out all the really un-needed stuff he'd probably have a hundred meg or something to play with.
Just what is REALLY needed in a win98 installation?
This tip is mostly for automatic cleaning of temporary files. You kind of answers your own question by mentioning a utility that should be able shrink a Win98 install to a minimum. If you have problems using the utility then I recommend contacting the creator of the utility. Also instead of spending energy and time on minimizing the size of a Win98 install, then I would instead try to find a used 1-10 GB hard disk.
thanks for the good information from here.