WIN10 hosts文件為什么是空白的
很多小伙伴們在使用win10系統進行電腦操作的時候,都會有需要打開系統hosts文件進行處理的情況,不過有時我們在打開hosts文件時,發現文件內容居然是空白的,這個情況是不應該出現的,所以小編搜集了全網資料,以下面這篇文章的形式為大家解讀一下這個問題如何解決,感興趣的小伙伴們可以往下看!
找到hosts文件,其中有兩種方法:
一是通過路徑查找:
c:windowssystem32driverstc
二是通過運行(快捷鍵Win+R)輸入“路徑”查找。

進入文件夾以后,找到hosts文件,如果打開為空,則復制以下內容保存即可。(如果出現不能編輯的情況,先把hosts文件復制到桌面,修改保存以后,在復制回到該路徑下)
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a ‘#’ symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
看了這么多,你學會了嗎?想要獲得最新資訊就來IE瀏覽器中文網站!簡單易懂的軟件教程、令人耳目一新的游戲玩法這里統統都有,更多精彩不容錯過!
相關文章:
1. 如何一鍵關閉所有程序?Windows系統電腦快捷關閉所有程序教程2. Win10 Edge瀏覽器和IE瀏覽器哪個好用?3. Win7系統DNS錯誤怎么辦?4. Win10怎么卸載virtualbox?Win10升級提示立即卸載virtualbox怎么卸載?5. 非uefi怎么安裝Win11?非uefi安裝Win11的方法教程6. Win7怎么升級正版Win10?最全Win7免費升級正版Win10教程7. Win10提示“未授予用戶在此計算機上的請求登錄類型”怎么辦?8. Win10任務欄不會隱藏怎么辦?Win10隱藏任務欄教程9. Win10如何安裝?Win10安裝教程10. Win10 20H2文件夾隱藏了怎么顯示?
