hosts file windows path code example
Example 1: windows hosts file location
Hosts file location:
C:\Windows\System32\Drivers\Etc\hosts
Example 2: hosts file path windows 10
C:\Windows\System32\drivers\etc\hosts
Example 3: host file windows 10
//The path to the hosts file folder (Windows)
%WINDIR%\System32\drivers\etc