edit host file in windows 7 as admin code example
Example 1: window host file
c:\Windows\System32\Drivers\etc\hosts
Example 2: where is the hosts file in windows 10
Windows 10 and Windows 8 = c:\Windows\System32\Drivers\etc\hosts
c:\Windows\System32\Drivers\etc\hosts
Windows 10 and Windows 8 = c:\Windows\System32\Drivers\etc\hosts