Page 1 of 1

Executing .EXE file with parameters that returns value

Posted: 30 Jun 2010 07:23
by Toonminator
Hello,
I have a simple Exe file that i would like to call 'random.exe', the path of this exe file is C:\random.exe

this is the batch file i have created so far
C:\random.exe "John" "Peter" "Marco" "Philip"

what i am missing is that the exe file returns a value and that value is one of the parameters that i have sent to my exe file
can someone help me finish my batch file
Thank you in advance
Toon!

Re: Executing .EXE file with parameters that returns value

Posted: 30 Jun 2010 13:37
by aGerman
Toonminator wrote:what i am missing is that the exe file returns a value and that value is one of the parameters that i have sent to my exe file

:?: Your have sent 4 Parameters: "John" "Peter" "Marco" "Philip".

Toonminator wrote:can someone help me finish my batch file

No. Nobody knows which .exe file it is. Nether the syntax that you have to use nor what it should do/return.

Regards
aGerman