rem ----set username password net user wluovm wluovm rem ----stop firewall net stop sharedaccess rem ----disable firewall sc config sharedaccess start= disabled --注意空格 rem ----config ip netsh interface ip set address name="本地连接" source=static addr=10.129.221.245 mask=255.255.255.128 gateway=10.129.221.129 gwmetric=auto rem ----pause pause
注意:rem是注释,::也是注释。
refurl:http://blog.csdn.net/coldwinter_stone/article/details/2591084
http://tieba.baidu.com/p/823903985
http://www.cnblogs.com/feishunji/archive/2011/03/09/1978139.html
http://www.cnblogs.com/Moosdau/archive/2007/09/28/908803.html
http://zhidao.baidu.com/question/288463687.html