edit file in command prompt hosts code example Example: driver hosts file C:\Windows\System32\Drivers\etc\hosts