China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-23 10:28
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Is there a command to delete the browsing history in IE properties? View 1,594 Replies 8
Original Poster Posted 2008-09-16 12:18 ·  中国 山东 济南 联通
高级用户
★★★
Credits 959
Posts 474
Joined 2007-10-25 10:40
18-year member
UID 100716
Gender Male
Status Offline
Is there a command to delete browsing history in IE properties?
Floor 2 Posted 2008-09-16 12:27 ·  美国 惠普HP
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs" /va /f
Floor 3 Posted 2008-09-16 13:00 ·  中国 山东 济南 联通
高级用户
★★★
Credits 959
Posts 474
Joined 2007-10-25 10:40
18-year member
UID 100716
Gender Male
Status Offline
Originally posted by HAT at 2008-9-16 12:27 PM:
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs" /va /f

Even if you delete the registry key, you can still find garbage in "C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files". If you use a batch script to delete, some files cannot be deleted. It seems there is no such command anymore.
Floor 4 Posted 2008-09-16 13:25 ·  中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212
Posts 2,478
Joined 2007-02-08 23:39
19-year member
UID 79003
Gender Male
Status Offline
LZ wants to delete the history records. The temporary folder is another matter...
S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore
Floor 5 Posted 2008-09-16 14:30 ·  美国 惠普HP
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
@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
Floor 6 Posted 2008-09-16 14:50 ·  中国 山东 济南 联通
高级用户
★★★
Credits 959
Posts 474
Joined 2007-10-25 10:40
18-year member
UID 100716
Gender Male
Status Offline
What does "TarDir" mean? Could Brother HAT explain it for me? This is the first time I've seen this.
Floor 7 Posted 2008-09-16 14:59 ·  中国 山东 济南 联通
高级用户
★★★
Credits 959
Posts 474
Joined 2007-10-25 10:40
18-year member
UID 100716
Gender Male
Status Offline
Originally posted by HAT at 2008-9-16 02:30 PM:
@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 ...

This code was tested, but there are still junk files in IE/Properties/Settings/View Files.
Floor 8 Posted 2008-09-16 15:08 ·  美国 惠普HP
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
set TarDir=xxx
It's just defining a variable? First time seeing it?

The index.dat in the IE temporary directory cannot be deleted using the system's built-in tools/commands; a third-party tool is needed.
Floor 9 Posted 2008-09-16 19:02 ·  中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212
Posts 2,478
Joined 2007-02-08 23:39
19-year member
UID 79003
Gender Male
Status Offline
The "virtual" real file has been deleted, and the real cache file is in content.ie5.
S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore
Forum Jump: