User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Windows 9x / Me section within the Tech Talk category of DaniWeb, a massive community of 427,491 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,436 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Windows 9x / Me advertiser: Programming Forums
Views: 3865 | Replies: 1
Reply
Join Date: Jun 2006
Location: UK (Bristol)
Posts: 225
Reputation: Mushy-pea is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
Mushy-pea's Avatar
Mushy-pea Mushy-pea is offline Offline
Posting Whiz in Training

Access to "Temporary Internet Files" folder

  #1  
Nov 1st, 2006
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 ).
Hello, you're through to Steven on the BT Business technical help desk. Could I take your broadband telephone number please?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2006
Location: Croatia
Posts: 1,638
Reputation: Chaky is an unknown quantity at this point 
Rep Power: 6
Solved Threads: 25
Chaky's Avatar
Chaky Chaky is online now Online
Posting Virtuoso

Re: Access to "Temporary Internet Files" folder

  #2  
Nov 2nd, 2006
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)
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Windows 9x / Me Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Windows 9x / Me Forum

All times are GMT -4. The time now is 7:00 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC