Unsolved
This post is more than 5 years old
2 Posts
0
14343
April 7th, 2001 22:00
how to delete temporary internet files in Win 98?
Does anybody knows how to delete temporary Internet files in Windows 98 painlessly ? if so let me know please.
No Events found!


gouletp
1 Rookie
•
3 Posts
0
April 7th, 2001 23:00
select internet options
under general tab click on delete temporary internet files
Jake02324
579 Posts
0
April 8th, 2001 00:00
Turn on the control so all cookies need your approval. Cookies are a none harmful file used by sites you visit. I used to sweat the d--- things but I now just delete some from both folders, whenever.
Some sites do not care whether you say yes or no to accepting a cookie, they dump it on you anyhow.!!
dimson1976
2 Posts
0
April 8th, 2001 00:00
Deleting Temporary Files Painlessly
Addendum for Windows ME and Windows 2000
This article is not intended to be a DOS lesson or tutorial, but to show you a simple and painless way that I help keep my drive free from useless file clutter. There are other command variations to do this, however, this is what I have found to work best for me. This article assumes that you already have a basic knowledge of DOS commands, the autoexec.bat file and the consequences of typos and the incorrect use of wildcards.
The temporary internet files folder, history folder and cookies folder contain a file called index.dat. Windows uses index.dat to keep a coded record of the files in the folder where it resides. Windows will NOT let you delete index.dat! If you delete the files in these folders through any Windows method, you are still left with the index.dat containing all the info you thought you just deleted. So much for deleting your tracks! This file can become completely bloated, not to mention corrupted, since it won't match the actual files in the folder. The index.dat file can only be deleted in DOS and are included in your cleanup using the DELTREE command.
All modifications are done in the autoexec.bat file. This is my preference so that these files are deleted each time I boot. The autoexec.bat file is not required after Windows 3.1. If you do not have this file in the root directory of your C:\ drive, just create it in Notepad (make sure that the "Word Wrap" option is OFF) and save as autoexec.bat. The file could actually be saved as "whatever_you_want_to_name.bat" file, but would have to be ran manually and in DOS mode. (Not a DOS window)
Here is a copy of my autoexec.bat file with explanation of the commands below. The grayed out lines are what existed before I added the cleanup routine. (Yes, I know neither is necessary, but I have my own reasons) Make sure you change any paths where your files may be kept in different folders than mine and delete out any lines of folders you decide not to have cleaned up.
autoexec.bat File
@ECHO OFF
rem - By Windows Setup - c:\windows\command\mscdex.exe /D:aspicd0 /M:12 /L:I
PATH=%PATH%;
if exist c:\windows\smartdrv.exe c:\windows\smartdrv.exe 2048 16
DELTREE /y c:\windows\history\*.* > NUL
DELTREE /y c:\windows\tempor~1\*.* > NUL
DELTREE /y c:\windows\temp\*.* > NUL
DELTREE /y c:\windows\cookies\*.* > NUL
DELTREE /y c:\windows\applic~1\micros~1\office\recent\*.* > NUL
DELTREE /y c:\windows\ShellIconCache
if exist del c:\windows\ff*.tmp
if exist del c:\windows\system\advert.dll
@ECHO OFF suppresses the "command" from displaying on the screen. Normally, when commands are executed from a batch file, they are displayed on the screen.
if exist is a conditional command that says if the file exists, load it. If it does not exist, no big deal, no error message and the command is ignored.
smartdrv.exe is a standard disk cache used to speed things up. It's not needed for Windows, like the old days, but sure speeds things up in DOS. Parameters are the amount of memory in Kb to use.
DELTREE allows you to delete a directory even if it contains files and subdirectories or has hidden, system or read-only attributes.
/Y Suppresses a prompt to confirm the deletion.
*.* delete all the files and subdirectories but leave the directory itself. This saves adding an additional command line to recreate the folder.
> NUL instruction disables output to the screen as your computer boots. Without it, error messages about "files not found" and a file by file line as each file is being deleted.. If a folder is already empty, you would also get an error message. If you would like to see exactly what is going on, just delete the > NUL part.
ShellIconCache is a hidden file in the Windows directory that stores icon cache files. Just like the temporary internet files folder, it becomes very unproductive when the file gets too big. This file can become very bloated and corrupted. (example: black, odd looking icons)
if exist del c:\windows\ff*.tmp deletes garbage files that Office leaves behind, if they exist.
if exist del c:\windows\system\advert.dll deletes the spyware file (advert.dll) that many demo programs install with their program. This file is always secretly loaded and running on your system. It reports ALL of your online activities back to the originator.
Addendum for Windows ME and Windows 2000
Reader, Andy, pointed out another line to add, that I hadn't since I have these files deleted on shutdown with a registry tweak. Thanks, Andy. DELTREE /y c:\windows\recent\*.* > NUL
Denny Denham
2 Intern
•
18.8K Posts
0
April 8th, 2001 02:00
That modification would work and will clean up the temporary files every time you boot up. I personally would not choose to delete all my cookies every time I booted up, but that's up to you.
For some other options available to you, take a look here.
Want to make a hyperlink in your post, want to add a graphic or sound file, need to troubleshoot a non-working Java applet, want to build an attractive signature? These capabilities can be yours if you visit Denny's DellT@lk Tutorials.
For help in deciding what can be eliminated from your Startup list, take a look here.
Want to get rid of Network Neighborhood, change your Registered Owner name? Check out the little utilities at Delltalk Tweekz.
Ready to sign up for Web server space? Want to learn FTP? Visit Web Presence for Beginners.
jakeleg
360 Posts
0
April 8th, 2001 04:00
Unfortunately, winmag.com has been offline for a few weeks and is apparently gone for good.
j
Denny Denham
2 Intern
•
18.8K Posts
0
April 8th, 2001 05:00
Want to make a hyperlink in your post, want to add a graphic or sound file, need to troubleshoot a non-working Java applet, want to build an attractive signature? These capabilities can be yours if you visit Denny's DellT@lk Tutorials.
For help in deciding what can be eliminated from your Startup list, take a look here.
Want to get rid of Network Neighborhood, change your Registered Owner name? Check out the little utilities at Delltalk Tweekz.
Ready to sign up for Web server space? Want to learn FTP? Visit Web Presence for Beginners.