标题: 有没有IE属性删除浏览历史记录的命令?
[打印本页]
作者: 5872169
时间: 2008-9-16 12:18
标题: 有没有IE属性删除浏览历史记录的命令?
有没有IE属性删除浏览历史记录的命令?
作者: HAT
时间: 2008-9-16 12:27
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs" /va /f
作者: 5872169
时间: 2008-9-16 13:00
Quote: |
Originally posted by HAT at 2008-9-16 12:27 PM:
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs" /va /f |
|
即使删除注册表项也能在C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files里面找到垃圾,如果用批处理删除有一些文件无法删除。看来没有这个命令了。
作者: slore
时间: 2008-9-16 13:25
LZ要的是删除历史记录
临时文件夹是另一回事。。。
作者: HAT
时间: 2008-9-16 14:30
标题: Re 3楼
@echo off
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs" /va /f
set TarDir="%userprofile%\Local Settings\Temporary Internet Files\Content.IE5"
rd /s /q %TarDir%>nul 2>nul
del /s /q "%userprofile%\Cookies\*.*">nul 2>nul
作者: 5872169
时间: 2008-9-16 14:50
TarDir是什么意思?请HAT兄解释一下好吗,这是我第一次见这个。
作者: 5872169
时间: 2008-9-16 14:59
Quote: |
Originally posted by HAT at 2008-9-16 02:30 PM:
[code]@echo off
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs" /va /f
set TarDir="%userprofile%\Local Settings\Temporary Internet Files\Content.IE5&q ... |
|
这个代码测试了,但在IE/属性/设置/查看文件,里还有垃圾文件。
作者: HAT
时间: 2008-9-16 15:08
set TarDir=xxx
就是定义一个变量啊,第一次见?
IE临时目录中的index.dat用系统自带的工具/命令是无法删除的,需要借助第三方工具。
作者: slore
时间: 2008-9-16 19:02
你看到的是“虚”真实的文件已经删除了,真正的缓存文件在content.ie5里面。