test1.bat- @echo off
- set TrustWeb=9.*.*.*
- reg add "HKEY_Current_User\Software\Microsoft\Internet Explorer\New Windows\Allow" /v %TrustWeb% /t REG_BINARY /f
- set TrustWeb=10.*.*.*
- reg add "HKEY_Current_User\Software\Microsoft\Internet Explorer\New Windows\Allow" /v %TrustWeb% /t REG_BINARY /f
- set TrustWeb=11.*.*.*
- reg add "HKEY_Current_User\Software\Microsoft\Internet Explorer\New Windows\Allow" /v %TrustWeb% /t REG_BINARY /f
复制代码 test2.bat- @echo off
- for %%i in (9 10 11) do (
- reg add "HKEY_Current_User\Software\Microsoft\Internet Explorer\New Windows\Allow" /v %%i.*.*.* /t REG_BINARY /f
- )
复制代码 test3.bat- @echo off
- for /l %%i in (9,1,11) do (
- reg add "HKEY_Current_User\Software\Microsoft\Internet Explorer\New Windows\Allow" /v %%i.*.*.* /t REG_BINARY /f
- )
复制代码
|