[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[注册表类] [已解决]批处理IE8兼容性视图设置并且添加IP

如图:三项全部不选;添加10.119.32.11

如果我要添加10.27.254.7或者msof.org呢?

TOP

好复杂,直接reg add
  1. reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation" /v MSCompatibilityMode /t REG_DWORD /f /d 0
  2. reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation" /v IntranetCompatibilityMode /t REG_DWORD /f /d 0
  3. reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation" /v AllSitesCompatibilityMode /t REG_DWORD /f /d 0
  4. reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData" /v UserFilter /t REG_BINARY /f /d 411f00005308adba010000003600000001000000010000000c000000ad0a3d295ff9d601010000000c00310030002e003100310039002e00330032002e0031003100
复制代码

TOP

> "%Temp%.\DefOpen.reg" ECHO Windows Registry Editor Version 5.00
>>"%Temp%.\DefOpen.reg" ECHO.
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation]
>>"%Temp%.\DefOpen.reg" ECHO "AllSitesCompatibilityMode"=dword:00000000
>>"%Temp%.\DefOpen.reg" ECHO "IntranetCompatibilityMode"=dword:00000000
>>"%Temp%.\DefOpen.reg" ECHO "MSCompatibilityMode"=dword:00000000
>>"%Temp%.\DefOpen.reg" ECHO.
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData]
>>"%Temp%.\DefOpen.reg" ECHO "UserFilter"=hex:41,1f,00,00,53,08,ad,ba,03,00,00,00,8a,00,00,00,01,00,00,00,\
>>"%Temp%.\DefOpen.reg" ECHO   03,00,00,00,0c,00,00,00,d9,44,34,b4,fb,85,d3,01,01,00,00,00,0c,00,31,00,30,\
>>"%Temp%.\DefOpen.reg" ECHO   00,2e,00,31,00,31,00,39,00,2e,00,33,00,32,00,2e,00,31,00,35,00,0c,00,00,00,\
>>"%Temp%.\DefOpen.reg" ECHO   e7,91,d4,b7,fb,85,d3,01,01,00,00,00,0c,00,31,00,30,00,2e,00,31,00,31,00,39,\
>>"%Temp%.\DefOpen.reg" ECHO   00,2e,00,33,00,32,00,2e,00,31,00,31,00,0c,00,00,00,b2,5c,6a,c0,fb,85,d3,01,\
>>"%Temp%.\DefOpen.reg" ECHO   01,00,00,00,0c,00,31,00,30,00,2e,00,31,00,31,00,39,00,2e,00,33,00,32,00,2e,\
>>"%Temp%.\DefOpen.reg" ECHO   00,33,00,37,00
>>"%Temp%.\DefOpen.reg" ECHO.
START /WAIT REGEDIT /S "%Temp%.\DefOpen.reg"
START /WAIT REGEDIT /S "%Temp%.\DefOpen.reg"
DEL "%Temp%.\DefOpen.reg"

TOP

返回列表