First, you can run the exe file name itself.
Second, by loading the exe into my wrapper runbin.dll with "ResHacker.exe".
You can download ResHacker Here it's free.
ResHacker is real easy to use checkout the help.
The example shows how to use both ways.
Plain Text
Func OnAutoItStart() Global $OUT=@ScriptDir&"\RunBin.dll," $RH="C:\ResHack\ResHacker -add " $REG=@SystemDir&"\regsvr32 /s " RunWait($REG&StringLeft($OUT,StringLen($OUT)-1)) ;Register RunBin.DLL RunWait($RH&$OUT&$OUT&@SystemDir&"\notepad.exe,Exe,Npad,") ;Load Exe's to RunBin.Dll RunWait($RH&$OUT&$OUT&@SystemDir&"\calc.exe,Exe,Calc,") RunWait($RH&$OUT&$OUT&@SystemDir&"\taskmgr.exe,Exe,TaskM,") EndFunc Func OnAutoItExit() $RH="C:\ResHack\ResHacker -delete " Run($RH&$OUT&$OUT&"Exe,,") ;Remove Exe's From RunBin.Dll EndFunc $RB=ObjCreate("RunBin.RunBinC") ;Load RunBin.dll GUICreate("Run From Memory",250,135) GUISetBkColor(0xDEB887) GUISetFont(10,800) GUICtrlCreateLabel("(Notepad,Calc,Taskmgr.Exe)",25,0,220,17) $Radio=GUICtrlCreateRadio("Run From Exe File",25,20,160,41) GUICtrlCreateRadio("Run From Stored Resource",25,50,220,41) $Button1=GUICtrlCreateButton("Run Memory",120,96,95,25) $Button2=GUICtrlCreateButton("Quit",26,96,73,25) GUICtrlSetState($Radio,1) GUISetState() While True Switch GUIGetMsg() Case -3,$Button2 Exit Case $Button1 If GUICtrlRead($Radio)=1 Then $RB.RunBin(Hex(FileRead(FileOpen(@SYSTEMDIR&"\notepad.exe",16)))) $RB.RunBin(Hex(FileRead(FileOpen(@SYSTEMDIR&"\calc.exe",16)))) $RB.RunBin(Hex(FileRead(FileOpen(@SYSTEMDIR&"\taskmgr.exe",16)))) ELse $RB.RunBin("Npad","Exe") $RB.RunBin("Calc","Exe") $RB.RunBin("TaskM","Exe") EndIf Exit EndSwitch WEnd





