- May
- 5
- 0
I want to use a file or files to pass parameters to a batch file where I'd use it as a %var%. I want to avoid human involvement and get all the parameters required from a text file or other batch file residing in the same directory.
Is there a way to have a batch file read another batch file to get a variable/parameter?
In other words batchA.cmd says call batchB.cmd
BatchB contains only a string such as "45553442" or "MCCNumericCode"
BatchA then uses that variable (%whatever%) in its execution.
Doable?
Mike Nelson
Is there a way to have a batch file read another batch file to get a variable/parameter?
In other words batchA.cmd says call batchB.cmd
BatchB contains only a string such as "45553442" or "MCCNumericCode"
BatchA then uses that variable (%whatever%) in its execution.
Doable?
Mike Nelson