Sign in to follow this  
Followers 0
bobheart

How is this used again @ScriptDir

3 posts in this topic

I can't seem to find the post that had that in it and how it looks in code . Want to open my.exe in the same folder as the main .exe .

Share this post


Link to post
Share on other sites



Like this?

$path = @ScriptDir & "/ProgramName.exe"
Run($path, "", @SW_MAXIMIZE)

-Brett

Share this post


Link to post
Share on other sites

Thanks brett ..

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