Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

快速切換 IP 設定:Netsh 匯出/匯入網路設定檔

編輯:Windows XP 系統介紹

筆記本在公司與家裡往返,每次手動改 IP 极繁瑣。利用 netsh 將設定存成檔案,一鍵切換。

操作步驟

  1. 在公司設好網路 → 命令提示字元執行:
    netsh -c interface dump > c:\configs\office.txt
  2. 回家設好網路 → 執行:
    netsh -c interface dump > c:\configs\home.txt
  3. 往後去公司:
    netsh -f c:\configs\office.txt
  4. 回家:
    netsh -f c:\configs\home.txt

網路設定(IP、閘道、DNS、WINS 等)瞬間套用,免去逐項輸入之苦。

Copyright © Windows教程網 All Rights Reserved