Jump to content
Sign in to follow this  
cygna76

get parameters from external executable

Recommended Posts

cygna76

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.