Windows batch script opens hosts

@echo off
cd %windir%\system32\
start notepad.exe C:\Windows\System32\drivers\etc\hosts

Create a new folder and change the extension name to bat

Read More: