; HostEditor7 - Host Editor that runs under windows . ; Requires AutoHotkey v1.0.92.01+ and Windows XP or higher (untested) #NoEnv SetWorkingDir %A_ScriptDir% if not A_IsAdmin { Run *RunAs "%A_ScriptFullPath%" ; Requires v1.0.92.01+ ExitApp } Run, notepad.exe %A_WinDir%\system32\drivers\etc\hosts