作者leicheong (睡魔)
看板Windows
标题Re: [问题] 改变IP的批次档?
时间Fri Jul 9 21:03:38 2010
※ 引述《heres35 (heres)》之铭言:
: 请问有没有可以直接改 IP & MASK & GATWAY 的批次档指令?
: 例如:
: 192.168.1.99
: 255.255.255.0
: 192.168.1.254
: 换成
: 60.125.1.123
: 255.255.255.0
: 60.125.1.254
netsh interface ipv4 set address "Local Area connection"
static 60.125.1.123 255.255.255.0 60.125.1.254 1
以上两行合成一行执行就可以了. 没关UAC的可能需要在
以管理员权限执行的command prompt中执行.
--
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.92.4.195
1F:推 heres35 :谢谢^^服用後非常满意 08/06 16:55
2F:→ heres35 :请问第二行後面的"1"代表的意思是啥密呀? 08/06 16:56
3F:→ heres35 :再请教如果要自动取得IP的话要怎麽写呢? 08/06 16:56