REG批处理 修改 INTERNET 协议(TCP⼀IP)属性

2025-02-25 19:06:04
推荐回答(1个)
回答1:

不用reg,用netsh,专门干这个的。
netsh interface ip set address 本地连接 static 192.168.0.101 255.255.255.0 192.168.0.1 1
netsh interface ip set dns 本地连接 static 10.1.1.10 primary