Sign in to follow this  
Followers 0
EliTe_ThuT

How can I?

4 posts in this topic

Hey,

I'd like to know how I could do this...

If I have this

$ProgPath = "C:\Program Files\Prog"

and this

$ProgExecutable = "file.exe"

and that my program parameters are those :

-w -ns -title 'Name'

How can I do this:

Run("C:\Program Files\Prog\file.exe -w -ns -title 'Name'")

but using my variables...

Thanks

Share this post


Link to post
Share on other sites



If I have this

$ProgPath = "C:\Program Files\Prog"

and this

$ProgExecutable = "file.exe"

and that my program parameters are those :

-w -ns -title 'Name'

How can I do this:

Run("C:\Program Files\Prog\file.exe -w -ns -title 'Name'")

but using my variables...

Thanks

I think this may be what you are looking for

Run($ProgPath & "\" & $ProgExecutable & " -w -ns -title 'Name'")oÝ÷ Úí+"~Ø^­æ«zÊZqë"*.®­ÞÅç.µ¦åzv¦zÆ®¶­se'Vâb33²gV÷C²b33²fײb33cµ&öuFfײgV÷C²b3#²gV÷C²fײb33cµ&ötWV7WF&ÆRfײb33²gV÷C²b33²fײgV÷C²×rÖç2×FFÆRb33´æÖRb33²gV÷C²

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook

Share this post


Link to post
Share on other sites

you can string them together just be careful of spaces and quotes. I have to do this all the time.

Run($ProgPath & "\" & $ProgExecutable & " -w -ns -title 'Name'")

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