Need help on batch file

March 6, 2009 at 00:16:40
Specs: Windows XP

I need to write a batch file which takes 2
user inputs. 1st input is the complete
path for a exe file. (eg. program.exe), 2nd
input was an argument to the
program.exe (e.g argument.config). Am
able to get the user input from my batch
file. Later am stuck up with executing the
exe file which is located in the path user
has entered.

Please help me

See More: Need help on batch file

Report •

March 6, 2009 at 02:08:06
please post the batch file you have worked so far.
otherwise, this should do:

set /p ExePath=Enter Path:
set /p Params=Enter Parameters:
%ExePath% %Params%


Report •
Related Solutions

Ask Question