Computing.Net > Forums > Programming > Need help on batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Need help on batch file

Reply to Message Icon

Name: raghuprasad
Date: March 6, 2009 at 00:16:40 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

Hi,

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



Sponsored Link
Ads by Google

Response Number 1
Name: Holla
Date: March 6, 2009 at 02:08:06 Pacific
Reply:

Raghu,
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%

--
Holla.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Need help on batch file

Need help on Batch file for Shutdow www.computing.net/answers/programming/need-help-on-batch-file-for-shutdow/16424.html

Need help with batch file www.computing.net/answers/programming/need-help-with-batch-file/9707.html

Need help with batch file www.computing.net/answers/programming/need-help-with-batch-file/12913.html