What path name to get to History entries?

  • Thread starter Thread starter Maerko
  • Start date Start date
M

Maerko

What is the correct path name to get to the entries in the History
folder?

The best I can manage is to get to a user's History folder by using
the following path:

C:\Documents and Settings\USERNAME\Local Settings\History

I would like to be able to go deeper and somehow include in the path
the folder called 'Today'. And then include the folder called 'My
Computer'.

However, judging by the symbol against 'My Computer' I wonder if I
should be looking in the registry for this information?

Can anyone tell me more about this. Thank you.
 
You're going to have trouble because it's not an actual folder with URL shortcuts; that's just the view that explorer provides.

Use a command prompt window to navigate to:

C:\Documents and Settings\<username>\Local Settings\History

and then type the command "dir /a"

You'll see only a desktop.ini file and a subfolder: history.IE5

"cd history.IE5" followed by "dir /a" will give you a listing similar to this:

01/31/2005 03:44 AM <DIR> .
01/31/2005 03:44 AM <DIR> ..
02/24/2004 02:22 AM 113 desktop.ini
01/31/2005 01:33 PM 1,064,960 index.dat
02/22/2004 10:38 PM <DIR> MSHist012002092220020923
02/22/2004 10:38 PM <DIR> MSHist012002102820021029
02/22/2004 10:38 PM <DIR> MSHist012002102920021030
02/22/2004 10:38 PM <DIR> MSHist012002103020021031
02/22/2004 10:38 PM <DIR> MSHist012004021620040217
02/22/2004 10:38 PM <DIR> MSHist012004021720040218
02/22/2004 10:38 PM <DIR> MSHist012004021820040219
02/22/2004 10:38 PM <DIR> MSHist012004021920040220
02/22/2004 10:38 PM <DIR> MSHist012004022020040221
02/22/2004 10:38 PM <DIR> MSHist012004022120040222
02/22/2004 10:38 PM <DIR> MSHist012004022220040223
03/08/2004 02:35 AM <DIR> MSHist012004030120040308
03/15/2004 12:00 AM <DIR> MSHist012004030820040315
03/13/2004 12:12 AM <DIR> MSHist012004031320040314
03/22/2004 12:00 AM <DIR> MSHist012004031520040322
03/29/2004 12:00 AM <DIR> MSHist012004032220040329
06/20/2004 11:00 PM <DIR> MSHist012004061420040621
06/27/2004 11:00 PM <DIR> MSHist012004062120040628
06/28/2004 11:36 AM <DIR> MSHist012004062820040629
06/28/2004 11:24 PM <DIR> MSHist012004062920040630
06/29/2004 11:00 PM <DIR> MSHist012004063020040701
06/30/2004 11:36 PM <DIR> MSHist012004070120040702
07/01/2004 11:18 PM <DIR> MSHist012004070220040703
07/03/2004 12:41 PM <DIR> MSHist012004070320040704
11/08/2004 12:00 AM <DIR> MSHist012004110120041108
11/08/2004 12:03 AM <DIR> MSHist012004110820041109
11/09/2004 12:00 AM <DIR> MSHist012004110920041110
11/10/2004 11:02 PM <DIR> MSHist012004111020041111
11/11/2004 12:47 PM <DIR> MSHist012004111120041112
12/27/2004 12:33 AM <DIR> MSHist012004122020041227
12/27/2004 01:08 PM <DIR> MSHist012004122720041228
12/28/2004 12:30 AM <DIR> MSHist012004122820041229
12/29/2004 05:23 PM <DIR> MSHist012004122920041230
12/30/2004 12:02 AM <DIR> MSHist012004123020041231
12/31/2004 12:06 AM <DIR> MSHist012004123120050101
01/01/2005 03:40 PM <DIR> MSHist012005010120050102
01/02/2005 02:19 PM <DIR> MSHist012005010220050103
01/17/2005 03:24 AM <DIR> MSHist012005011020050117
01/24/2005 12:15 AM <DIR> MSHist012005011720050124
01/31/2005 02:33 AM <DIR> MSHist012005012420050131
01/31/2005 03:44 AM <DIR> MSHist012005013120050201

each of those subfolders contains a single index.dat file which, if you examine in a text editor, will contain URLs amidst lots of spaces and nonsense :). Try looking at the index.dat file in the folder with the latest creation date and you should recognize some URLs from today's history. Not sure how one would go about parsing this to get useful information.

Good Luck,
Keith
 
Hi Keith :-)

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


You're going to have trouble because it's not an actual folder with URL
shortcuts; that's just the view that explorer provides.

Use a command prompt window to navigate to:

C:\Documents and Settings\<username>\Local Settings\History

and then type the command "dir /a"

You'll see only a desktop.ini file and a subfolder: history.IE5

"cd history.IE5" followed by "dir /a" will give you a listing similar to
this:
 
None. I tried 5 different methods to open this folder. Everything works until it has to open. Then it stops. I've walked the paths, I walked the verbs.

Also vbs crashes without issuing an error.
 
Hi Ramesh :)

Ramesh said:
Hi Keith :-)

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


You're going to have trouble because it's not an actual folder with URL
shortcuts; that's just the view that explorer provides.

Use a command prompt window to navigate to:

C:\Documents and Settings\<username>\Local Settings\History

and then type the command "dir /a"

You'll see only a desktop.ini file and a subfolder: history.IE5

"cd history.IE5" followed by "dir /a" will give you a listing similar to
this:
 
Pakistan just defeated WI (WI chasing 308) so there are in the final against Australia.
 
Who cares?
IDGAFF

"David Candy" <.> wrote in message
Pakistan just defeated WI (WI chasing 308) so there are in the final against
Australia.
 
Yep, UK born and bred, but I am not a sport lover, I'm afraid...
I don't (didn't!) mind participating, but these days just watching any sport
leaves me cold.
Sorry!

--
¦ zulu ¦

Ramesh said:
I care ;-) You from UK, zulu?
 
I was a great cricket lover (used to watch even the English County matches
in full, and the W.Indies - Calypso series ). That was during 1996-2000,
then lost interest in counties, but I watch big events especialy if India /
Aus / Pakistan participate.

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


zulu said:
Yep, UK born and bred, but I am not a sport lover, I'm afraid...
I don't (didn't!) mind participating, but these days just watching any
sport leaves me cold.
Sorry!
 
Wow! Thanks for the feedback. Only view I can offer from here is swamps
with big gators. :o)

--
Happy Mardi Gras,
Kelly (MS-MVP)

Troubleshooting Windows XP
http://www.kellys-korner-xp.com


Ferne Clyffe State Park, here in beautiful Southern Illinois :)

Keith
 
Back
Top