win10 can not find the hosts file (set to show hidden files to be found) Solution

Hosts file Win10 systems have a lot of effect, shielding URL specified resolution, jump and so on, so we often aim to reach some by editing the Hosts file, generally speaking hosts file is hidden, we need to display protected files you can, but even if there are some user feedback display hidden files can not find hosts, then how to solve it? Following small to share relevant workaround.

Open the C: \ Windows \ System32 \ drivers \ etc

 

Win10 can not find the hosts file Solution:

1, first of all we click on Windows10 below the search box, search for "CMD", right click on "Command Prompt" to run as an administrator, as shown below.

 

 

2, we command prompt, the following commands and copy right mouse command prompt to "paste", then press the Enter key (the Enter) performed, as shown in FIG.

for /f %P in ('dir %windir%\WinSxS\hosts /b /s') do copy %P %windir%\System32\drivers\etc & echo %P & Notepad %P

 

 Then you can open the hosts file in the etc folder and display the hosts file, install antivirus software if there is security, we modify the file may encounter problems when blocked, then it can be allowed.

 

hosts file can not be found in general are rare, but really can not find the case of the above methods can be used to solve.

 

Guess you like

Origin www.cnblogs.com/-mrl/p/11571993.html