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