944,173 Members | Top Members by Rank

Ad:
Nov 1st, 2006
0

Access to "Temporary Internet Files" folder

Expand Post »
Hello everyone. I'm trying to write a small Perl script to test a web application I'm developing. The problem is it needs to open a cookie file in the "Temporary Internet Files" folder and Windows seems to be denying it access. The shell seems to be blocked from accessing this folder as well, so I can't use that to copy the file to a normal location from within the script. Will I have to use a system call to access this file or is there a simpler way? Any help appriciated.

Steven.

Note: I'm using Windows 98 SE (i.e. the best Windows ever :p ).
Similar Threads
Reputation Points: 47
Solved Threads: 1
Posting Whiz in Training
Mushy-pea is offline Offline
271 posts
since Jun 2006
Nov 2nd, 2006
0

Re: Access to "Temporary Internet Files" folder

First of all, cookies are not in temporary internet files. They are in "C:\Windows\cookies" folder.

And for the Temp.internet files, you'll need to know the full path to the file (I advise that you use 8.3 names). Should be something like this:

"C:\WINDOWS\Tempor~1\Content.IE5\4NMSCF1J\file.ext"

Tricky part is to get that "4NMSCF1J" folder name. Don't know the location where it's stored. Probably somewhere in C:\WINDOWS\Temporary Internet Files\Content.IE5\index.dat

There's always a manual peek via command prompt.


BTW, only files you would be denied access to are :

C:\WINDOWS\Temporary Internet Files\Content.IE5\index.dat
(Unless you are in safe mode without network support)

"C:\Windows\cookies\index.dat", (it has System attribute on by default)

and

"C:\Windows\History\History.IE5\index.dat" (unless you haven't turned on internet explorer yet in current session)


(I know my Win98)
Reputation Points: 230
Solved Threads: 45
Posting Virtuoso
Chaky is offline Offline
1,985 posts
since May 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Windows 95 / 98 / Me Forum Timeline: cant connect to internet 98se
Next Thread in Windows 95 / 98 / Me Forum Timeline: Computer freezes





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC