update windows hosts file via .bat
This is how you update windows hosts file via .bat replace 127.0.0.1 localhost with the host entry you need @echo off REM Creating a Newline variable (the two blank lines are required!) set NLM=^ set NL=^^^%NLM%%NLM%^%NLM%%NLM% ECHO. >> “%systemroot%\system32\drivers\etc\hosts” findstr…