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