Jump to content

How do I parse lines of Content.IE5\index.dat?


orange
 Share

Recommended Posts

I am writing a program that is dependent on the URLs that are stored in Content.IE5\index.dat.

However I am having issue reading this file.

This is the code thus far:

#include<file.au3>

for $var = 1 to 200
    
    $line = filereadline("C:\Documents and Settings\"&@UserName&"\Local Settings\Temporary Internet Files\Content.IE5\index.dat",$var)
    msgbox(0,0,$line)
next

When I read the variable $line, I dont get the entire line, but rather just the first few words. It seems as though certain characters are hidden from being read.

because of this I can't extract any URLs--

Any ideas on how to parse this?

Link to comment
Share on other sites

For those of you that need to know how, you can't read the file in its current location (for whatever reason)

so in order to read index.dat line by line, you should copy it to another location.

Hope this helps someone.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...