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