Jump to content

get parameters from external executable


cygna76
 Share

Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...