Glyph Posted February 4, 2007 Posted February 4, 2007 $dir = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\StealthBot v2.6 Revision 3", "Install_Dir") Run("\Stealthbot.exe",$dir,@SW_MAXIMIZE ) Why the heck wont it run? :/, it says it cannot find the file... yet the file is in " C:\Program Files\StealthBot\Stealthbot.exe " The registry points it to " C:\Program Files\StealthBot " and i'm using the run command as the helpfile example is. tolle indicium
Glyph Posted February 4, 2007 Author Posted February 4, 2007 After reading the above thread i did some error checking $dir = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\StealthBot v2.6 Revision 3", "Install_Dir") MsgBox(0,"",FileExists($dir&"\stealthbot.exe")) Run($dir&"\stealthbot.exe",$dir,@SW_MAXIMIZE ) Now it works tolle indicium
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now