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
>> >>
>> >>
>> >
>> >
>>
>>
>
>
|