Want to Speed up Win98SE Some? Cleanout Those Useless Files in Win98SE.

It doesn't take very long and your HDD will become polluted with junk that can bog down your computer's performance. Most of your browsers have features that will delete cookies, history, cache, etc., however, it may not clean all the residual stuff. So why not do it yourself after exiting from Windows to a DOS Prompt or better yet create yourself a Batch File to do it for you?

Here's the path and commands to delete that junk:

DELTREE /Y C:\WINDOWS\HISTORY\*.* > NUL
DELTREE /Y C:\WINDOWS\TEMPOR~1\*.* > NUL
DELTREE /Y C:\WINDOWS\TEMP\*.* > NUL
DELTREE /Y C:\WINDOWS\RECENT\*.* > NUL
DEL C:\WINDOWS\FF*.TEMP
DEL C:\WINDOWS\SYSTEM\ADVERT.DLL
DEL C:\WINDOWS\WIN386.SWP

So how do you do it? Open up Notepad (Start > Program > Accessories > Notepad)

Type up the file, name it, add a .bat extension to the name (i.e. Clean.bat) and save it in the “WINDOWS DIRECTORY” as a .txt file.

Here's a snippet of what your Batch File could look like (don't want to do it all for you and take the fun out of it!)

@ECHO OFF
ECHO AO IS COOL!
ECHO Deleting The Cookies From Your Computer
DELTREE /Y C:\WINDOWS\COOKIES\*.* > NUL
ECHO AO IS COOL!
ECHO Deleting Your Internet Surfing History
DELTREE /Y C:\WINDOWS\HISTORY\*.* > NUL
ECHO AO IS COOL!

You can leave off the “> NUL” if you desire and even add EXIT to the end. This will close the DOS Window when you are done and restart Windows. To make this work properly you must leave the “ECHO AO IS COOL!” in place.

Now that you have it written and saved, how do you run it? Some of the files and directories are in use when you are running Windows so you will want to exit Windows to a DOS Prompt. Do not click: Start > Programs > MS–DOS Prompt.

Rather click: Start > Shutdown > Restart in MS-DOS mode.

When you are at the DOS Prompt – C:\WINDOWS>

Just type the file name and it should jump into action. If you have entered “EXIT” at the end of you Batch File, it should restart windows for you after the Batch File has completed its work.

***Remember to save your Batch File in the Windows Directory, with the .bat extension as part of the file name, and save it as a .txt file.

Save in: Windows

File name: Clean.bat

Save as type: Text Document

Cheers.