Jump to content
Sign in to follow this  
Knight

Launch EXE w/ Command Line Parameter

Recommended Posts

Knight

I need to launch an exe with a command line parameter HIDDEN. Launching the exe with the command line parameter isnt hard, but I cannot figure out how to launch it with the window hidden. When I use @SW_Hide it hides the command prompt not the program. If I use winwait, then hide the window, it defeats the purpose of a silent run. I probably overlooked something, but does anyone have suggestions or ideas?

Thanks in advance,

-JKnight

Share this post


Link to post
Share on other sites
Knight

Run($Dir & "\game.exe " & $Param, $Dir, @SW_HIDE)

Nevermind, I figured it out :P

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  

×