In the Forums...
Written by: Keith "Farrel" McClellan
Posted: February 15, 2000
Operating systems, operating systems, operating systems... to use an old cliché, "You can't live with 'em, but you can't live without 'em," and that is certainly true of Windows - particularly the Win9x series. Until we can all move off to the blissful land of Win2k with its new technologies and high stability (hopefully), we have to live with the dead horse of an operating system based on DOS - something that was dreamed up way back in the late 70's. How can we live with such an unprolific beast? By tweaking it out, of course!
Luckily, Win98 and its derivatives (Win98 SE and the "Millennium Edition") are very easy to tweak out and make very fresh. Windows if nothing if it isn't chuck full of settings to play around with. Just remember to be careful and be sure to write down any settings that you have changed and their original value - just in case.
Optimizing your system's startup routine is the first step in getting your system into fighting condition. Here are a few tweaks for you to play around with. Remember to make a backup of any files you change BEFORE you change any of them, though - just in case.
In the MSDOS.SYS file, add the following lines:
You may need to remove the write-protect attribute of this file to save. To do so, simply go into the file's properties and remove it. Make sure you put it back on when you are done though.
In the CONFIG.SYS file, add the following line:
Go through and remove all other lines in the CONFIG.SYS and AUTOEXEC.BAT files as well (back up first!).
Removing Temporary Files
To remove temporary files from your Windows/Temp directory create a CLEAN.BAT file and put it in the root directory. Put the following lines in it:
@DelTree /Y C:\WINDOWS\Temp
This file will clean up your temporary files without causing any windows errors. To use the program, either reboot into MS-DOS mode or start the computer in command prompt only mode (press F8 before the loading Windows 98 line comes up to get the startup menu). Then run the program from the command prompt.
For more system startup tweaks, check out our definitive System Startup Tweak Guide.