您的位置:首頁技術文章
文章詳情頁

WIN10 hosts文件為什么是空白的

瀏覽:87日期:2023-05-21 15:33:13

很多小伙伴們在使用win10系統進行電腦操作的時候,都會有需要打開系統hosts文件進行處理的情況,不過有時我們在打開hosts文件時,發現文件內容居然是空白的,這個情況是不應該出現的,所以小編搜集了全網資料,以下面這篇文章的形式為大家解讀一下這個問題如何解決,感興趣的小伙伴們可以往下看!

WIN10 hosts文件為什么是空白的

win10系統hosts文件空白的修復步驟分享

找到hosts文件,其中有兩種方法:

一是通過路徑查找:

c:windowssystem32driverstc

二是通過運行(快捷鍵Win+R)輸入“路徑”查找。

WIN10 hosts文件為什么是空白的

進入文件夾以后,找到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瀏覽器中文網站!簡單易懂的軟件教程、令人耳目一新的游戲玩法這里統統都有,更多精彩不容錯過!

標簽: Windows系統 win10
相關文章:
国产综合久久一区二区三区