Looking for ideas as to how I could do this.....

  • Thread starter Thread starter Jim
  • Start date Start date
J

Jim

Hello,

I would like to find every occurrence of the string "://" in the index.dat
files which store the ie history. Once a line is identified as containing
this string, I would process (i.e. parse) that line to put the data into a
datatable. (note that I already have a function which identifies the correct
index.dat files by accessing the registry).

Additionally, I would like to be able to process multiple files concurrently
(i.e. on it's own thread).

I had a function that was working on windows xp/2000 machines which was
creating a new process, and then having it execute the DOS cmd.exe with a
find command to extract the information. However, this would only process
one file at a time, AND it would not work on windows me systems because the
cmd.exe does not exist on that platform. When I tried to convert it to have
the process use COMMAND.COM, I get errors in the find command.

Does anyone have any ideas as to how I could do this?

Thanks!

Jim
 
Hi,

Environment.GetFolderPath(Environment.SpecialFolder.History) is the path to
the folder which contains the internet history



Ken

----------------------

Hello,

I would like to find every occurrence of the string "://" in the index.dat
files which store the ie history. Once a line is identified as containing
this string, I would process (i.e. parse) that line to put the data into a
datatable. (note that I already have a function which identifies the correct
index.dat files by accessing the registry).

Additionally, I would like to be able to process multiple files concurrently
(i.e. on it's own thread).

I had a function that was working on windows xp/2000 machines which was
creating a new process, and then having it execute the DOS cmd.exe with a
find command to extract the information. However, this would only process
one file at a time, AND it would not work on windows me systems because the
cmd.exe does not exist on that platform. When I tried to convert it to have
the process use COMMAND.COM, I get errors in the find command.

Does anyone have any ideas as to how I could do this?

Thanks!

Jim
 
Ken,

I already have a list of file names... how can I write a routine that will
search for the string "://" in each of the index.dat files, and extract each
line that has the string in it?

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top