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. centos7使用docker部署gitlab-ce-zh應用詳解2. win7怎么設置屏幕休眠密碼(win7屏幕保護設置密碼)3. Centos7安裝完畢后無法聯網顯示Server not found如何解決?4. 如何純凈安裝win10系統?uefi模式下純凈安裝win10系統圖文教程5. Win11如何清空剪貼板數據?Win11清空剪貼板數據的方法6. 禁用Windows7中的AeroSnap最大化7. Win10系統怎么使用cmd命令安裝?教你一招快速使用cmd命安裝Win10電腦系統8. mac和iPad共用鼠標怎么公用一個鼠標? mac和iPad共享鼠標的技巧9. 正版windows7系統下載要錢嗎10. Win10系統下Runtimebroker.exe進程占用CPU過高怎么辦?
