delete IE temporary files

  • Thread starter Thread starter Crios
  • Start date Start date
C

Crios

How can I delete IE temporary files from several users/several sessions in
one move. (I have admin rights)?

Thanx
Crios
 
Crios said:
How can I delete IE temporary files from several users/several sessions in
one move. (I have admin rights)?

Thanx
Crios

You can create a batch file that deletes & recreates
the hidden folder content.ie5 in each user's profile
folder.
 
I'm afraid i'm not that good !!

Pegasus (MVP) said:
You can create a batch file that deletes & recreates
the hidden folder content.ie5 in each user's profile
folder.
 
Try this:
- Click Start / Run / notepad c:\Winnt\Cleanup.bat
- Place these lines inside:
Line1 @echo off
Line2 echo Deleting all temporary Internet files.
Line3 for %%a in (Tom Dick Harry) do (
Line4 echo Deleting %%a . . .
Line5 rd /s /q "C:\Documents and Settings\%%a\Local Settings\Temporary
Internet Files\content.ie5"
Line6 md "C:\Documents and Settings\%%a\Local Settings\Temporary Internet
Files\Content.ie5"
Line7 )
Line8 echo . . . done!
Line9 echo.
Line10 pause
Omit "Line1" "Line2" etc. . I placed it there so that you
can see where each line starts and ends. Use actual
logon names instead of Tom, Dick, Harry.

- Create a shortcut on your desktop that points to
c:\WinNT\Cleanup.bat
 
Pegasus (MVP) said:

Well to explain what I see now I had mis-intuited in the first place..
...but at first quick read 'I thought' Gary's reply didn't really seem to
fit there, and 'I thought' you were chiding him about that fact with your
reply of saying ''thanks for the tip' and so I put the <g> there for the
way you did that ...but this morning glancing through the groups today I
saw your question mark in reply to me - now that made me actually read your
bat file this time ..and after seeing your line 6 i now see that his reply
was technically true - and so I see I misread both posts intentions and I
apologize for that mistake and now wish I didn't reply in the first place;
not to mention the fact that I normally don't post in this particular group
anyway.

But reading it this time I see your line 6 does show a md for the TIF's
which is not necessarily needed since it's true that after a deletion of
them that Windows will re-recreate them on reboot (or on the fly if called
for it's usage and it's not there) ..however it doesnt hurt anything to md
the folders yourself if you wanted to anyway.

Rick
 
Rick Chauvin said:
Well to explain what I see now I had mis-intuited in the first place..
..but at first quick read 'I thought' Gary's reply didn't really seem to
fit there, and 'I thought' you were chiding him about that fact with your
reply of saying ''thanks for the tip' and so I put the <g> there for the
way you did that ...but this morning glancing through the groups today I
saw your question mark in reply to me - now that made me actually read your
bat file this time ..and after seeing your line 6 i now see that his reply
was technically true - and so I see I misread both posts intentions and I
apologize for that mistake and now wish I didn't reply in the first place;
not to mention the fact that I normally don't post in this particular group
anyway.

But reading it this time I see your line 6 does show a md for the TIF's
which is not necessarily needed since it's true that after a deletion of
them that Windows will re-recreate them on reboot (or on the fly if called
for it's usage and it's not there) ..however it doesnt hurt anything to md
the folders yourself if you wanted to anyway.

Rick

Wow, that's a long follow-up! Yes, my batch file did indeed
include a line for recreating the Temporary Internet folder
previously deleted, and I appreciate Gary's comment that
this was not strictly necessary. This is what newsgroups are
supposed to be: A help and discussion forum.
 
[...]
Wow, that's a long follow-up! Yes, my batch file did indeed

....didn't mean to be too wordy...
include a line for recreating the Temporary Internet folder
previously deleted, and I appreciate Gary's comment that
this was not strictly necessary. This is what newsgroups are

..as you know it didn't hurt anything that the md line was there though.
supposed to be: A help and discussion forum.

...yep

...have a nice day

Rick
 
Back
Top