Sign in to follow this  
Followers 0
cygna76

get parameters from external executable

3 posts in this topic

Hello,

i have an external programm which returns me a parameter if closed. but i have no idea how to get this parameter into a variable in my Script.

example:

$val = RunWait("c:\port-test\port.exe SIRIUS 81", "C:\port-test", @SW_MAXIMIZE)

if the programm port.exe terminates i usually get 1 or 0 as a returncode.

now i need this value in a variable in my script.

is it possible to get this value, or should a create a "workaround" ... however ....

i have no idea ... i hope that someone can help me .... PLEASE :P

greetings from Austria,

cygna76

Share this post


Link to post
Share on other sites



Thanks..... too easy to get it :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  
Followers 0