Hollowyearz

Windows Run Box

Dec 1st, 2013
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.21 KB | None | 0 0
  1. $sSelect = "C:\Windows\regedit.exe"
  2. Run("rundll32.exe shell32.dll,#61")
  3. WinWaitActive("Run")
  4. ControlSend("Run", "", "[CLASS:Edit; INSTANCE:1]", $sSelect)
  5. ControlClick("Run", "", "[CLASS:Button; INSTANCE:2]")
Advertisement
Add Comment
Please, Sign In to add comment