
CODE: [Copy to clipboard]下文可能对你有帮助:@echo off
set /p op=请选择DNS号[12]:
if 1==%op% (
netsh interface ip set dns name="本地连接" source=static addr=218.244.0.19
netsh interface ip add dns name="本地连接" addr=61.134.1.4 index=2
) else (
netsh interface ip set dns name="本地连接" source=static addr=61.134.1.4
netsh interface ip add dns name="本地连接" addr=218.244.0.19 index=2
)
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |