改變IP的批次檔? - Windows

Table of Contents

※ 引述《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






請自行修改

--
████ █ ★ ████ █ █ █
█ █ █ █ █ █ 超 級 熱 烈 歡 迎
█ ████ █ █ █ ████ █
█ █ █ █ ███★ █ █ 歡迎到嘉義版!
★███ █ █ █ █ █ █ █
訊馳電腦-路徑嘉義市林森西路496號(05)2244-526順發斜對面

--

All Comments