How to modify hosts files in win7
The hosts file is a file on the computer that is used to associate the URL you are accessing with the corresponding IP Address Resolution. We may need to modify this file in a specific situation, in Windows XP, you can use NotePad to open the file and modify it and save it. However, in Windows 7, you can directly open notepad and modify it before saving it. This is a headache, in fact, this is related to the permissions of the win7 system. You can save it as follows.
Method/step
1. Open the "Start" menu, click "All Programs", and find "Notepad" in "attachment ";
2. Right-click notepad and choose run as administrator ";
3. A new notepad window is displayed. Click the File menu and select open ";
4. In the open dialog box, select the "C: \ Windows \ System32 \ drivers \ etc" folder from the drop-down menu;
5. Click the file format drop-down list in the lower right corner and select "all files ";
6. Now you can see the hosts file. You can double-click it to open the file and modify it. After the modification is complete, the modification will take effect.
The above is the method for modifying the hosts file in win7. If you need it, you can refer to the small series method to set it. I hope it will help you.