Sign in to follow this  
Followers 0
Glyph

Run ("Example.exe",$dir,@sw_maximize)

2 posts in this topic

$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

Share this post


Link to post
Share on other sites



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 :whistle:


tolle indicium

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0