How to modify the hosts file in win7 system

  
        

The hosts file is a file on the computer that is used to correlate the URLs and IPs that you are accessing. We may need to modify this file in a specific situation. In the xp system, you can open this file and modify it. Saved, but in the win7 system directly open the Notepad to modify can not be saved, it is a headache, in fact, the permissions of this win7 system, according to the following methods can be saved.

Method /Steps

1

Open the "Start" menu, click "All Programs", find "attachments" ".

2

Right-click "Notepad", select "Run as administrator".

3

A new Notepad window pops up, click on the "File" menu, select "Open".

4

In the "Open" dialog, use the drop-down menu Select the folder ""C:\\Windows\\System32\\drivers\\etc".

5

Click on the file format drop-down list in the lower right corner and select "All Files".

6

You can see the hosts at this point. The file is double-clicked to open the file for modification. After the modification is completed, it can be saved.

Precautions

Be sure to run the Notepad program as an administrator, otherwise it will not be saved

Copyright © Windows knowledge All Rights Reserved