SetIP.bat
runas /user:administrator "netsh int ip set address """本地连接""" static 10.10.20.44 255.255.255.0 10.10.20.1 1 "
|
SetDHCP.bat
runas /user:administrator "netsh int ip set address """本地连接""" dhcp"
|
注意 : 3个双引号
|
|||
SetIP.bat
SetDHCP.bat
注意 : 3个双引号 |
|||