update hosts file windows code example
Example 1: host file windows 10
C:\Windows\System32\drivers\etc
Example 2: driver hosts file
C:\Windows\System32\Drivers\etc\hosts
C:\Windows\System32\drivers\etc
C:\Windows\System32\Drivers\etc\hosts