改變IP的批次檔? - Windows

Table of Contents

謝謝^^
服用後非常滿意
請問第一行後面的none代表的意思是啥密呀?

再請教
如果要自動取得IP的話要怎麼寫呢?

※ 引述《chinoyan (chino)》之銘言:
: 標題: Re: [問題] 改變IP的批次檔?
: 時間: Fri Jul 9 15:31:42 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 ip set address "區域連線" static 192.168.1.99 255.255.255.0
: 192.168.1.1 none
: netsh interface ip set dns "區域連線" static 168.95.1.1
: netsh interface ip add dns "區域連線" 168.95.192.1

--

All Comments

Isla avatarIsla2010-08-09
把static+後面 改成dhcp
Harry avatarHarry2010-08-12
netsh interface ip set address "區域連線" dhcp
George avatarGeorge2010-08-14
第一時間感謝樓上的大大 QQQ