Modify windows hosts file code example Example: host file windows 10 //The path to the hosts file folder (Windows) %WINDIR%\System32\drivers\etc