windows host file directory 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
Example 3: host file windows 10
//The path to the hosts file folder (Windows)
%WINDIR%\System32\drivers\etc