where is the host file in win 10 code example Example: where is the hosts file in windows 10 Windows 10 and Windows 8 = c:\Windows\System32\Drivers\etc\hosts