
@回声关闭
{ソ夜天空おQQ25808181的TITLE(对于IE6 / IE7及更高版本)
颜色0b
MODE con: COLS = 60 LINES = 30
设置路径=%path%;%windir%\ system32
echo正在检测环境.........
回声.
在/ f“令牌= 3” %% a中('reg查询“ HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell文件夹” ^ |查找/ i“ history”')确实设置_history =% %a
对于/ f“令牌= 3” %% a(在'reg查询“ HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell文件夹” ^ |查找/ i“ Cookies”'中)设置_Cookies =% %a
对于/ f“ tokens = 3,*” %% a(在'reg查询“ HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell文件夹” ^ |查找/ i“缓存”')中执行(<
dir“ %% a %% b”> nul &&设置_Cache = %% a %% b ||设置_Cache =%userprofile%\ Local Settings \ Internet临时文件)
在/ f“令牌= 3” %% a中('reg查询“ HKLM \ SOFTWARE \ Microsoft \ Internet Explorer” / v“版本” ^ |查找/ i“ reg_sz”')设置_IEversion = %%一个
电话: ver%_IEversion%
echo%_IEversion%| find / i“ 6.0”> nul && set _goto = ie6 && goto: ie6
echo%_IEversion%| find / i“ 7.0”> nul && set _goto = ie7 && call: ie7

: echo%_IEversion%| find / i“ 8.0”> nul && set _goto = ie8
: 对于/ f“令牌= 3” %% a(在“ reg查询“ HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell文件夹” ^ |查找/ i“ Cookies”中))做回显%%一个
对于/ f“ tokens = 4” %% i in('dir / ah“%_history%\ History.IE5 \” ^ | findstr / i / c: “ MSHist”'),请设置_MSHist = %% i
: ************************************************
: ************************************************
: echo ::%_ history%
: echo ::%_ Cookies%
: echo ::%_ Cache%
: echo ::%_ MSHist%
: echo ::%_ IEversion%
: echo ::%_ goto%
: ************************************************
: ie6
如果“%_goto%” ==“ ie6” TASKKILL / F / t / IM iexplore.exe> nul 2> nul
如果“%_goto%” ==“ ie6” TASKKILL / F /IMexplorer.exe> nul

ping 127.1 -n 3>无
attrib“%_Cache%\ Content.IE5 \ index.dat” -s -r -h
del“%_ Cache%\ Content.IE5 \ index.dat”
attrib“%_history%\ History.IE5 \ index.dat” -s -r -h
del“%_ history%\ History.IE5 \ index.dat”
attrib“%_history%\ History.IE5 \%_ MSHist%\ index.dat” -s -r -h
del“%_ history%\ History.IE5 \%_ MSHist%\ index.dat”
attrib“%_Cookies%\ index.dat” -s -r -h
del“%_ Cookies%\ index.dat”
如果“%_goto%” ==“ ie6”批处理 清除ie缓存,则启动explorer.exe> nul
reg删除“ HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ RunMRU” / F> NUL 2> NUL
reg删除“ HKCU \ Software \ Microsoft \ Internet Explorer \ TypedURLs” / F> NUL 2> NUL
del / f / s / q“%_Cache%\ Content.IE5 \ *. *”
del / f / s / q“%_Cache%\ *. *”
del / f / s / q“ C: \ WINDOWS \ Downloaded程序文件”

del / f / s / q“%_history%\ *. *”
del“%USERPROFILE%” \ Recent \. / f / s / q
rd“%temp%” / s / q
转到结束
: ************************************************** ****************************************************
: ie7
: ie8
: ie9
: ************************************************** ****************************************************
::↓清除IE临时文件
启动rundll32 InetCpl.cpl批处理 清除ie缓存,ClearMyTracksByProcess 8
::↓清除Cookie
启动rundll32 InetCpl.cpl,ClearMyTracksByProcess 2
::↓清除历史记录
启动rundll32 InetCpl.cpl,ClearMyTracksByProcess 1

::↓清除表格数据
: 启动rundll32 InetCpl.cpl,ClearMyTracksByProcess 16
::↓清除密码
: 启动rundll32 InetCpl.cpl,ClearMyTracksByProcess 32
::↓清除以上所有项目
: 启动rundll32 InetCpl.cpl,ClearMyTracksByProcess 255
::↓清除上述所有项目以及IE7中使用的外接程序保存的各种数据
: 启动rundll32 InetCpl.cpl,ClearMyTracksByProcess 4351
GOTO: EOF
: ************************************************** ****************************************************
: ver
: ************************************************** ****************************************************
echo当前的Internet Explorer版本是: %1
GOTO: EOF
: ************************************************** ****************************************************
: ************************************************** ****************************************************
暂停
: 结束
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-251859-1.html
十个台湾都收复下来啦
生产加工和运输流程啊