最佳答案:用Windows批处理脚本即可实现。写两个BAT文件,内容分别如下:切换到公司网络.bat:netsh interface ip set address 本地连接 static 193.168.17.