Link to home
Start Free TrialLog in
Avatar of Bharat Guru
Bharat Guru

asked on

How to create a Dos batch file parameter

How to create a doc batch file with parameter.
Avatar of Bill Prew
Bill Prew

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You need a bit of a program to accept the input for the batch file to process. Here is an example from a Microsoft  Support article.

I have used something similar many years ago.
John... if that is what he means I think you'll find that won't work on a modern OS being a COM file, certainly not 64 bit ones.

Can use

set /p input=Enter something:
echo %input%

or slightly more complicated ways such as making a GUI inputbox with VBScript or external util, e.g

But as to what is actually wanted we will have to see what Bharat Guru comes back with I guess.

Avatar of Bharat Guru
Bharat Guru