Executing .EXE file with parameters that returns value

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Toonminator
Posts: 1
Joined: 30 Jun 2010 07:06

Executing .EXE file with parameters that returns value

#1 Post by Toonminator » 30 Jun 2010 07:23

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!

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Executing .EXE file with parameters that returns value

#2 Post by aGerman » 30 Jun 2010 13:37

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

Post Reply