skrysiak
asked on
List contents of Internet Explorer History using VBS / WSH
So far I have the following code:
Const LOCAL_SETTINGS_HISTORY = &H22&
Set objShell = CreateObject("Shell.Applic ation")
Set objFolder = objShell.Namespace(LOCAL_S ETTINGS_HI STORY)
Set objFolderItem = objFolder.Self
Wscript.Echo objFolderItem.Path
Set colItems = objFolder.Items
For Each objItem in colItems
Wscript.Echo objItem.Name
Next
When it runs, it does indeed show the contents of Internet Explorer History, although only as the category headings "3 Weeks Ago", "Last Week", "Monday" etc.! Is there any way of reading (and echoing) every item in the History list using WSH?
Const LOCAL_SETTINGS_HISTORY = &H22&
Set objShell = CreateObject("Shell.Applic
Set objFolder = objShell.Namespace(LOCAL_S
Set objFolderItem = objFolder.Self
Wscript.Echo objFolderItem.Path
Set colItems = objFolder.Items
For Each objItem in colItems
Wscript.Echo objItem.Name
Next
When it runs, it does indeed show the contents of Internet Explorer History, although only as the category headings "3 Weeks Ago", "Last Week", "Monday" etc.! Is there any way of reading (and echoing) every item in the History list using WSH?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER