
| Quote: | |
|
CODE: [Copy to clipboard][ Last edited by tao0610 on 2006-12-4 at 03:51 PM ]@echo off
findstr "\<%ComputerName%\>" "c:\Config.ini">nul&&goto 设置||echo 计算机名不对应!
pause>nul&goto :eof
:设置
netsh interface ip set address name="本地连接" gateway=192.168.0.254 gwmetric=0 >nul
echo/重新设置了网关!&pause>nul
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |