how to pass input message text as a parameter with other exe.
I want a bat script, which is required input message text as a parameter, append with other exe.
I have a exe. Client require launch this exe with dynamic parameter. This dynamic parameter should type end user (input message).
Please help me..
suppose: i have abcd.exe and parameter is "APACDBPRD1", It should launch "abcd.exe APACDBPRD1"
Answers (2)
I've used AutoIt to do this previously. (http://www.autoitscript.com/site/autoit/)
eg
.............................................................................................................
Local $Arg1 = InputBox("Get Arguement for my exe", "Please enter the required arguement.", "APACDBPRD1")
if @Error=1 Then
Exit
EndIf
ShellExecuteWait("ABCD.exe", $Arg1)
..............................................................