1.

Solve : Input parameter for batch file?

Answer»

Dear Friends,
I am a new user of your forum can anybody help me
"How do i set input parameter for .exe file from command LINE of batch file"

Quote

How do i set input parameter for .exe file from command line of batch file

Probably too EARLY in the morning, but not sure want you want to do. You can pass PARAMETERS to the program on the command line:

x.exe parm1 parm2 parm3

Obviously the parameters must be in a format the program understands.

You can also get parameters from the user at run time:

Code: [Select]set /p parm=Enter Program Parameter:
x.exe %parm%

Note: set /p is not valid on all machines.

Hope this helps. 8-)


Discussion

No Comment Found