IE历史记录查询及删除工具IE History View使用浅析

来源:互联网 发布:幕府将军2武器数据 编辑:程序博客网 时间:2024/05/16 17:43

一.             IE历史记录的位置:

1. 历史记录主要保存位置:

l  Win98:在系统盘的win98目录下有一个history目录。

l  Win2000/Win XP:在“%userprofile%/Local Settings/Historys”下(该目录是隐藏的,需要在文件夹选项设置窗口中设置才能显示隐藏文件),当然这个目录,用户是可以进行修改的,具体位置:“KEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders/History”。

2. 历史记录存档位置:

IE会自动将部分比较旧的浏览历史在 历史记录主目录下以一定命名规则建立子目保存,通过资源管理器用户是无法看到的,可以使用totol command看到这个目录的存在。

3. 注册表中的历史记录

用户浏览的大多数URL都是记录在history主目录中的,但是IE会将最近访问的25天历史记录保存在“HKEY_CURRENT_USER/Software/Microsoft/Internet Explorer/TypedURLss”下。

二.             IE History View中典型操作:

1.  如何删除IE历史记录?

通过IE的“Internet 选项”中的删除浏览历史入口是无法对历史记录删除干净的,在IEHistoryView中,选择结果面板中的任意一条历史记录,勾选前面的复选框之后,delete或者点击工具栏的删除按钮,即可将历史记录删除干净。当然如果你需要全部删除,则只需ctrl+a之后删除即可。

2.  如何显示注册表中的历史记录?

选择“View-Display Typed URLs”,在结果面板中,那些“Hits”列值为“N/A”的数据。

3.  如何查看存档的历史记录?

选择“File-Select History SubFolder”,在弹出的对话框中,可以看到我们可以选择是从“Main History Folder”中读取还是从各个存档中读取,当然,你也可以通过选择“View All SubFolder”来读取显示全部。

4.  如何查看其他系统用户的历史记录

选择“File-Select User Profile”,在弹出的对话框中通过下拉列表选择用户即可。

三.             IEHistoryView的命令行使用:

                            该工具支持通过命令行的方式将用户所需要的历史记录数据导出成希望的格式。

                   语法为:iehv [/Action] ["Destination File"] {-Source Type} {"Source"}

[/Action]可能的取值:

/stext

Saves the URLs list into a text file specified in ["Destination File"] parameter.

/stab

Saves the URLs list into tab-delimited text file specified in ["Destination File"] parameter.

/shtml

Saves the URLs list into HTML file specified in ["Destination File"] parameter.

/sverhtml

Saves the URLs list into vertical HTML file file specified in ["Destination File"] parameter.

/stabular

Saves the URLs list into tabular text file specified in ["Destination File"] parameter.

/sxml

Saves the URLs list into xml file specified in ["Destination File"] parameter.

/sort <column>

This command-line option can be used with other save options for sorting by the desired column. If you don't specify this option, the list is sorted according to the last sort that you made from the user interface. The <column> parameter can specify the column index (0 for the first column, 1 for the second column, and so on) or the name of the column, like "URL" and "Modified Date". You can specify the '~' prefix character (e.g: "~Modified Date") if you want to sort in descending order. You can put multiple /sort in the command-line if you want to sort by multiple columns.

Examples:
iehv.exe /shtml "f:/temp/iehv.html" /sort 2 /sort ~1
iehv.exe /shtml "f:/temp/iehv.html" /sort "~Modified Date"

/nosort

When you specify this command-line option, the list will be saved without any sorting.

 

{-Source Type} 参数可选,如果没有选择是导出的是当前用户的历史记录主目录数据。其可能的取值是:

folder

Loads the URLs list from the folder specified in {"Source"} parameter.

-user

Loads the URLs list of the user specified in {"Source"} parameter.

-allsubfolders [0 | 1]

Determines whether IEHistoryView should save the history items from all subfolders. 1 = yes, 0 = no.

 

使用示例:

iehv -folder "c:/Documents and Settings/Administrator/Local Settings/History"
iehv /shtml "c:/temp/urls.html"
iehv /stext "c:/temp/urls.txt" -user admin2
iehv /stext "c:/temp/urls1.txt" -folder "c:/windows/history"
iehv /shtml "c:/temp/urls.html" -allsubfolders 1
iehv /shtml "c:/temp/urls.html" -allsubfolders 1 /sort "URL"s

 

四.             IEHistoryView的多语言化

IEHistoryView允许你对工具的菜单,对话框以及其他一些字符串转为其他语言,当然你可以进行基本的汉化了,呵呵

1.  以如下方式运行IEHistoryViewiehv.exe /savelangfile

2.  在工具同目录下生成iehv_lng.ini,直接文本打开编辑即可,重启工具即能看到修改的结果

五.             历史记录的一些说明:

1.  关于ie历史记录中的点击次数

要说明是ie历史记录的点击次数反应了用户对某条url的频度,但是并不是访问一次就是计数加1的,它有可能是2,3,5,15这样的幅度增加

六.             参考文档及工具下载地址:

http://www.nirsoft.net/utils/iehv.html

http://www.nirsoft.net/utils/iehv.zip

七.             工具截图:

 

原创粉丝点击