Re: Cookie Removal

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Sun, 24 May 2009 17:06:10 -0400, "Twayne"
<nobody@xxxxxxxxxxxxxxxxxxx> wrote:

David wrote:
I have XP/Pro SP2 on my workstation. My used name (David) has
administrative priviledges.

One of my backups is a data only backup onto a USB drive using a DOS
BATCH file & XCOPY

I have tried to restrict all but desireable cookies from invading my
workstation. I've changed the Internet Options (Control Panel) and
the cookie rules in the various browsers I use. Apparently I've been
successful here. However, there seems to be one place I can not stop
cookies & temp internet files from being saved on my workstation. I'm
not sure, but its possible they are arriving through the use of
various other applications that insist on using IE for internet
access.

This is where the cookies are being saved (My user name is David):

C:\Documents and Settings\David\Local Settings\Temporary Internet
Files

I have tried everything I can think of by adjusting the setup in
various appplications without success. Since I can't stop the
cookies, my thought is that I might be able to automate their
deletion. As I said, my data backup uses a DOS batch file and XCOPY.
I have thought of inserting a DOS DELETE command into that batch file
to delete the contents of the above directory. I've tried this
without success. With the appropriate delete command, the batch file
generates no error messages. However, XP/Pro apparently ignores the
delete command because the temp internet files & cookies don't get
deleted.

I can use Windows Explorer and manually delete the stuff. But, I
can't figure out how to do it automatically.

Can anyone offer any suggestions?

David

You're kind of hard to follow, but

Del "C:\Documents and Settings\David\Local Settings\Temporary
Internet\*"<space>/s RET
should pretty well take care of it I'd think. Or you could just CD to
the exact folder and then issue a del * followed by a del *.* probably.
It's better to use the full path though. XP will execute it fine in a
batch file.

Twayne`


I tried as you suggested - exactly, but it did not work. It turns out
the Temporary Internet Files directory has some hidden
sub-directories. The command you suggested did clean these out.

However, using Windows Explorer, a large number of .jpg files can be
seen. These files WERE NOT removed using your command. I can get rid
of them by highlighting them within Windows Explorer & hitting DEL -
the same procedure as I use to delete any other file.

Even more interesting: I used START->RUN & opened a DOS window using
CMD. I then used CD to move to the TEMPORARY INTERNET FILES
directory. The dir command WILL NOT DISPLAY the .jpg files, but
Windows Explorer will. I suppose you must be able to see them to
delete them. Probably why the DOS batch file will not delete the
files.

Right now, probably the best question is why DIR will not display
files within the Temporary Internet Files directory?

David
.



Relevant Pages

  • Re: Multi-zip files -- Windows server
    ... native DOS versions). ... TO BATCH OR NOT TO BATCH ... and using a batch file to try and solve the problem... ... The IBM PC operating system command line is a most ...
    (comp.sys.cbm)
  • Re: Renaming multiple files???
    ... I vaguely remember, in DOS, that I could type: ... Can't use the DOS ren command unless the wildcard before and after is ... What I do is drop to command line window (a couple clicks with my ... Run the batch file and all the files will be renamed. ...
    (sci.electronics.design)
  • Re: Can I Use powerpoint to send commands out the serial port?
    ... DOS experts jump in here. ... PowerPoint Video and PowerPoint Sound Solutions www.pfcmedia.com ... > created a batch file for each of the 29 buttons on my powerpoint slide. ... >>> I'd also like to have the program repeat the relay off command after ...
    (microsoft.public.powerpoint)
  • Re: Can I Use powerpoint to send commands out the serial port?
    ... DOS experts jump in here. ... PowerPoint Video and PowerPoint Sound Solutions www.pfcmedia.com ... > created a batch file for each of the 29 buttons on my powerpoint slide. ... >>> I'd also like to have the program repeat the relay off command after ...
    (microsoft.public.powerpoint)
  • Re: log off command
    ... I simply execute the batch file and let them play... ... If it's by the hour you don't need a script. ... You can logoff a sessionname or a session ID in each case you have to ... Is it possible to issue the command from user1's logon to logoff ...
    (microsoft.public.windowsxp.basics)