PC Review


Reply
Thread Tools Rate Thread

Automate the Deleting of IE's Cache?

 
 
Scott Townsend
Guest
Posts: n/a
 
      7th Mar 2006
I'd like to automate the deletion of the IE Cache for all the users on a
Terminal Server.

Leave the Cookies, etc, but just delete the cache files and offline content.

Seems that every once in a while opening files directly from the browser
without saving them does not work. (zip, PDF, Word, etc)

Clearing the Cache and then clicking on the link again fixes the issue.

So I was looking for a cool way to traverse the folder deleting all the Temp
Files.

Thanks,
Scott<-


 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      8th Mar 2006

"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:(E-Mail Removed)...
> I'd like to automate the deletion of the IE Cache for all the users on a
> Terminal Server.
>
> Leave the Cookies, etc, but just delete the cache files and offline

content.
>
> Seems that every once in a while opening files directly from the browser
> without saving them does not work. (zip, PDF, Word, etc)
>
> Clearing the Cache and then clicking on the link again fixes the issue.
>
> So I was looking for a cool way to traverse the folder deleting all the

Temp
> Files.
>
> Thanks,
> Scott<-
>


You could use the Task Scheduler to invoke a batch file
that deletes the folder
C:\Documents and Settings\UserName\Local Settings\Temporary Internet
Files\Content.IE5
for every TS user, then recreates it.


 
Reply With Quote
 
 
 
 
Gary Smith
Guest
Posts: n/a
 
      8th Mar 2006
In microsoft.public.win2000.general "Pegasus \(MVP\)" <(E-Mail Removed)> wrote:

> "Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
> news:(E-Mail Removed)...
> > I'd like to automate the deletion of the IE Cache for all the users on a
> > Terminal Server.
> >
> > Leave the Cookies, etc, but just delete the cache files and offline

> content.
> >
> > Seems that every once in a while opening files directly from the browser
> > without saving them does not work. (zip, PDF, Word, etc)
> >
> > Clearing the Cache and then clicking on the link again fixes the issue.
> >
> > So I was looking for a cool way to traverse the folder deleting all the

> Temp
> > Files.
> >
> > Thanks,
> > Scott<-
> >


> You could use the Task Scheduler to invoke a batch file
> that deletes the folder
> C:\Documents and Settings\UserName\Local Settings\Temporary Internet
> Files\Content.IE5
> for every TS user, then recreates it.


It's not even necessary to recreate Content.IE5. Windows will do that
automatically at the next logon.

--
Gary L. Smith
Columbus, Ohio
 
Reply With Quote
 
Scott Townsend
Guest
Posts: n/a
 
      15th Mar 2006
So what is the easiest way to loop through all the users in the Doc and
settings folder?

Thanks,
Scott<-
"Gary Smith" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> In microsoft.public.win2000.general "Pegasus \(MVP\)" <(E-Mail Removed)>
> wrote:
>
>> "Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
>> news:(E-Mail Removed)...
>> > I'd like to automate the deletion of the IE Cache for all the users on
>> > a
>> > Terminal Server.
>> >
>> > Leave the Cookies, etc, but just delete the cache files and offline

>> content.
>> >
>> > Seems that every once in a while opening files directly from the
>> > browser
>> > without saving them does not work. (zip, PDF, Word, etc)
>> >
>> > Clearing the Cache and then clicking on the link again fixes the issue.
>> >
>> > So I was looking for a cool way to traverse the folder deleting all the

>> Temp
>> > Files.
>> >
>> > Thanks,
>> > Scott<-
>> >

>
>> You could use the Task Scheduler to invoke a batch file
>> that deletes the folder
>> C:\Documents and Settings\UserName\Local Settings\Temporary Internet
>> Files\Content.IE5
>> for every TS user, then recreates it.

>
> It's not even necessary to recreate Content.IE5. Windows will do that
> automatically at the next logon.
>
> --
> Gary L. Smith
> Columbus, Ohio



 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      15th Mar 2006
Please try to respond to the post you refer to, not just to any
old post!

@echo off
cd /d "C:\Documents and Settings"
for /d %%a in (*.*) do rd /s /q "\%%a\Local Settings\Temporary
Internet Files\Content.IE5"



"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:(E-Mail Removed)...
> So what is the easiest way to loop through all the users in the Doc and
> settings folder?
>
> Thanks,
> Scott<-
> "Gary Smith" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > In microsoft.public.win2000.general "Pegasus \(MVP\)" <(E-Mail Removed)>
> > wrote:
> >
> >> "Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
> >> news:(E-Mail Removed)...
> >> > I'd like to automate the deletion of the IE Cache for all the users

on
> >> > a
> >> > Terminal Server.
> >> >
> >> > Leave the Cookies, etc, but just delete the cache files and offline
> >> content.
> >> >
> >> > Seems that every once in a while opening files directly from the
> >> > browser
> >> > without saving them does not work. (zip, PDF, Word, etc)
> >> >
> >> > Clearing the Cache and then clicking on the link again fixes the

issue.
> >> >
> >> > So I was looking for a cool way to traverse the folder deleting all

the
> >> Temp
> >> > Files.
> >> >
> >> > Thanks,
> >> > Scott<-
> >> >

> >
> >> You could use the Task Scheduler to invoke a batch file
> >> that deletes the folder
> >> C:\Documents and Settings\UserName\Local Settings\Temporary Internet
> >> Files\Content.IE5
> >> for every TS user, then recreates it.

> >
> > It's not even necessary to recreate Content.IE5. Windows will do that
> > automatically at the next logon.
> >
> > --
> > Gary L. Smith
> > Columbus, Ohio

>
>



 
Reply With Quote
 
Scott Townsend
Guest
Posts: n/a
 
      15th Mar 2006
Thank you for your reply...

Scott<-
"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Please try to respond to the post you refer to, not just to any
> old post!
>
> @echo off
> cd /d "C:\Documents and Settings"
> for /d %%a in (*.*) do rd /s /q "\%%a\Local Settings\Temporary
> Internet Files\Content.IE5"
>
>
>
> "Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
> news:(E-Mail Removed)...
>> So what is the easiest way to loop through all the users in the Doc and
>> settings folder?
>>
>> Thanks,
>> Scott<-
>> "Gary Smith" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > In microsoft.public.win2000.general "Pegasus \(MVP\)" <(E-Mail Removed)>
>> > wrote:
>> >
>> >> "Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
>> >> news:(E-Mail Removed)...
>> >> > I'd like to automate the deletion of the IE Cache for all the users

> on
>> >> > a
>> >> > Terminal Server.
>> >> >
>> >> > Leave the Cookies, etc, but just delete the cache files and offline
>> >> content.
>> >> >
>> >> > Seems that every once in a while opening files directly from the
>> >> > browser
>> >> > without saving them does not work. (zip, PDF, Word, etc)
>> >> >
>> >> > Clearing the Cache and then clicking on the link again fixes the

> issue.
>> >> >
>> >> > So I was looking for a cool way to traverse the folder deleting all

> the
>> >> Temp
>> >> > Files.
>> >> >
>> >> > Thanks,
>> >> > Scott<-
>> >> >
>> >
>> >> You could use the Task Scheduler to invoke a batch file
>> >> that deletes the folder
>> >> C:\Documents and Settings\UserName\Local Settings\Temporary Internet
>> >> Files\Content.IE5
>> >> for every TS user, then recreates it.
>> >
>> > It's not even necessary to recreate Content.IE5. Windows will do that
>> > automatically at the next logon.
>> >
>> > --
>> > Gary L. Smith
>> > Columbus, Ohio

>>
>>

>
>



 
Reply With Quote
 
Scott Townsend
Guest
Posts: n/a
 
      15th Mar 2006
There was an Extra \ in the For loop.
"%%a\ not "\%%a\

@echo off
cd /d "C:\Documents and Settings"
for /d %%a in (*.*) do rd /s /q "%%a\Local Settings\Temporary
Internet Files\Content.IE5"


thanks again! Works Great!

"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Please try to respond to the post you refer to, not just to any
> old post!
>
> @echo off
> cd /d "C:\Documents and Settings"
> for /d %%a in (*.*) do rd /s /q "\%%a\Local Settings\Temporary
> Internet Files\Content.IE5"
>
>
>
> "Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
> news:(E-Mail Removed)...
>> So what is the easiest way to loop through all the users in the Doc and
>> settings folder?
>>
>> Thanks,
>> Scott<-
>> "Gary Smith" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > In microsoft.public.win2000.general "Pegasus \(MVP\)" <(E-Mail Removed)>
>> > wrote:
>> >
>> >> "Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
>> >> news:(E-Mail Removed)...
>> >> > I'd like to automate the deletion of the IE Cache for all the users

> on
>> >> > a
>> >> > Terminal Server.
>> >> >
>> >> > Leave the Cookies, etc, but just delete the cache files and offline
>> >> content.
>> >> >
>> >> > Seems that every once in a while opening files directly from the
>> >> > browser
>> >> > without saving them does not work. (zip, PDF, Word, etc)
>> >> >
>> >> > Clearing the Cache and then clicking on the link again fixes the

> issue.
>> >> >
>> >> > So I was looking for a cool way to traverse the folder deleting all

> the
>> >> Temp
>> >> > Files.
>> >> >
>> >> > Thanks,
>> >> > Scott<-
>> >> >
>> >
>> >> You could use the Task Scheduler to invoke a batch file
>> >> that deletes the folder
>> >> C:\Documents and Settings\UserName\Local Settings\Temporary Internet
>> >> Files\Content.IE5
>> >> for every TS user, then recreates it.
>> >
>> > It's not even necessary to recreate Content.IE5. Windows will do that
>> > automatically at the next logon.
>> >
>> > --
>> > Gary L. Smith
>> > Columbus, Ohio

>>
>>

>
>



 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      15th Mar 2006
Indeed there was. Sorry for the oversight.


"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:eKQT%(E-Mail Removed)...
> There was an Extra \ in the For loop.
> "%%a\ not "\%%a\
>
> @echo off
> cd /d "C:\Documents and Settings"
> for /d %%a in (*.*) do rd /s /q "%%a\Local Settings\Temporary
> Internet Files\Content.IE5"
>
>
> thanks again! Works Great!
>
> "Pegasus (MVP)" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > Please try to respond to the post you refer to, not just to any
> > old post!
> >
> > @echo off
> > cd /d "C:\Documents and Settings"
> > for /d %%a in (*.*) do rd /s /q "\%%a\Local Settings\Temporary
> > Internet Files\Content.IE5"
> >
> >
> >
> > "Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
> > news:(E-Mail Removed)...
> >> So what is the easiest way to loop through all the users in the Doc and
> >> settings folder?
> >>
> >> Thanks,
> >> Scott<-
> >> "Gary Smith" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > In microsoft.public.win2000.general "Pegasus \(MVP\)" <(E-Mail Removed)>
> >> > wrote:
> >> >
> >> >> "Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
> >> >> news:(E-Mail Removed)...
> >> >> > I'd like to automate the deletion of the IE Cache for all the

users
> > on
> >> >> > a
> >> >> > Terminal Server.
> >> >> >
> >> >> > Leave the Cookies, etc, but just delete the cache files and

offline
> >> >> content.
> >> >> >
> >> >> > Seems that every once in a while opening files directly from the
> >> >> > browser
> >> >> > without saving them does not work. (zip, PDF, Word, etc)
> >> >> >
> >> >> > Clearing the Cache and then clicking on the link again fixes the

> > issue.
> >> >> >
> >> >> > So I was looking for a cool way to traverse the folder deleting

all
> > the
> >> >> Temp
> >> >> > Files.
> >> >> >
> >> >> > Thanks,
> >> >> > Scott<-
> >> >> >
> >> >
> >> >> You could use the Task Scheduler to invoke a batch file
> >> >> that deletes the folder
> >> >> C:\Documents and Settings\UserName\Local Settings\Temporary Internet
> >> >> Files\Content.IE5
> >> >> for every TS user, then recreates it.
> >> >
> >> > It's not even necessary to recreate Content.IE5. Windows will do

that
> >> > automatically at the next logon.
> >> >
> >> > --
> >> > Gary L. Smith
> >> > Columbus, Ohio
> >>
> >>

> >
> >

>
>



 
Reply With Quote
 
Scott Townsend
Guest
Posts: n/a
 
      17th Mar 2006
No Worries, Got the Job done...

Thanks again!
'
Scott-
"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Indeed there was. Sorry for the oversight.
>
>
> "Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
> news:eKQT%(E-Mail Removed)...
>> There was an Extra \ in the For loop.
>> "%%a\ not "\%%a\
>>
>> @echo off
>> cd /d "C:\Documents and Settings"
>> for /d %%a in (*.*) do rd /s /q "%%a\Local Settings\Temporary
>> Internet Files\Content.IE5"
>>
>>
>> thanks again! Works Great!
>>
>> "Pegasus (MVP)" <(E-Mail Removed)> wrote in message
>> news:%(E-Mail Removed)...
>> > Please try to respond to the post you refer to, not just to any
>> > old post!
>> >
>> > @echo off
>> > cd /d "C:\Documents and Settings"
>> > for /d %%a in (*.*) do rd /s /q "\%%a\Local Settings\Temporary
>> > Internet Files\Content.IE5"
>> >
>> >
>> >
>> > "Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
>> > news:(E-Mail Removed)...
>> >> So what is the easiest way to loop through all the users in the Doc
>> >> and
>> >> settings folder?
>> >>
>> >> Thanks,
>> >> Scott<-
>> >> "Gary Smith" <(E-Mail Removed)> wrote in message
>> >> news:(E-Mail Removed)...
>> >> > In microsoft.public.win2000.general "Pegasus \(MVP\)"
>> >> > <(E-Mail Removed)>
>> >> > wrote:
>> >> >
>> >> >> "Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
>> >> >> news:(E-Mail Removed)...
>> >> >> > I'd like to automate the deletion of the IE Cache for all the

> users
>> > on
>> >> >> > a
>> >> >> > Terminal Server.
>> >> >> >
>> >> >> > Leave the Cookies, etc, but just delete the cache files and

> offline
>> >> >> content.
>> >> >> >
>> >> >> > Seems that every once in a while opening files directly from the
>> >> >> > browser
>> >> >> > without saving them does not work. (zip, PDF, Word, etc)
>> >> >> >
>> >> >> > Clearing the Cache and then clicking on the link again fixes the
>> > issue.
>> >> >> >
>> >> >> > So I was looking for a cool way to traverse the folder deleting

> all
>> > the
>> >> >> Temp
>> >> >> > Files.
>> >> >> >
>> >> >> > Thanks,
>> >> >> > Scott<-
>> >> >> >
>> >> >
>> >> >> You could use the Task Scheduler to invoke a batch file
>> >> >> that deletes the folder
>> >> >> C:\Documents and Settings\UserName\Local Settings\Temporary
>> >> >> Internet
>> >> >> Files\Content.IE5
>> >> >> for every TS user, then recreates it.
>> >> >
>> >> > It's not even necessary to recreate Content.IE5. Windows will do

> that
>> >> > automatically at the next logon.
>> >> >
>> >> > --
>> >> > Gary L. Smith
>> >> > Columbus, Ohio
>> >>
>> >>
>> >
>> >

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automate with vb6 - can automate two lines but no more :-( =?Utf-8?B?UGhvZW5peDFfdWs=?= Microsoft Powerpoint 1 14th Aug 2006 04:34 PM
Automate deleting duplicate rows =?Utf-8?B?Q01JQ29ubmll?= Microsoft Excel Misc 3 19th Jun 2006 04:51 PM
best way to automate deleting records and adding filters in a quer =?Utf-8?B?Z2c=?= Microsoft Access Queries 3 25th Apr 2006 03:31 PM
Automate the Deleting of IE's Cache? Scott Townsend Microsoft Windows 2000 8 17th Mar 2006 02:20 AM
Deleting locks system when deleting Vance Roos Windows XP General 0 23rd Sep 2003 10:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:54 AM.