1, we press the keyboard key combination Win + R combination shortcut key to open the Run Command box, and then we enter the C:\windows\system32\drivers\ets in the Run box, enter and then return to open.
2, then will open into the Hosts file path, then we click "OK" can quickly open the Hosts file location, as shown.
If you want to open the Hosts file, then we find the file and then right-click to select Open mode for Notepad to edit gu.
Hosts file cannot be saved
Hosts file cannot save method one:
Close 3,601 kinds of antivirus software, and then modify, will not appear can not be saved. For example, 360 has some kind of security software protection, will automatically restore the Hosts file as the default state, so the hosts file can not be saved.
Hosts file cannot save method two:
Right-click the Hosts file, select Properties-> Security-> Edit, and set user user to Full control.
Hosts file cannot save method three:
Copy the Hosts file to the desktop (or the remaining path), edit and save, then copy the modified Hosts file to the original path and replace the original Hosts file. You will be prompted for administrator privileges to continue, and simply follow the prompts to continue replacing the original Hosts file.
Hosts file cannot save method four:
As an administrator, click Start-Run, input: cmd, and then enter Notepad c:\windows\system32\drivers\etc\hosts, return to Notepad will be the way to open the Hosts file, this time can be directly edited and saved.