Howto: Access Windows Host File Using .bat File
Open up notepad or any text editor and paste this in: C:\WINDOWS\NOTEPAD.EXE C:\WINDOWS\SYSTEM32\DRIVERS\etc\HOSTS Save the file as ‘hosts.bat’ on your desktop
Open up notepad or any text editor and paste this in: C:\WINDOWS\NOTEPAD.EXE C:\WINDOWS\SYSTEM32\DRIVERS\etc\HOSTS Save the file as ‘hosts.bat’ on your desktop