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

Win7 驗證 localhost 與 hosts 檔案狀態的指令法

編輯:Windows 7 系統介紹

hosts 檔案將域名對應至 IP,病毒常竄改導致導向錯誤網站。可用 ping localhost 快速驗證 hosts 完整性。

操作步驟

  1. Win+R → cmd 開啟命令提示字元。
  2. 輸入 ping localhost 回車。
  3. 若有回應 → hosts 正常;若無回應 → hosts 異常,需掃毒並修復系統檔。

Copyright © Windows教程網 All Rights Reserved