Is it possible to create a batch file that will call another batch file at some point and also supply it with a sequence of inputs -
i have batch file (lets "test.bat"). when run test.bat asks user inputs during it's execution, ex. user credentials , shows menu. user can choose option menu entering value after script ask him lot more product specific details.
question: need call test.bat inside batch file , whenever test.bat requires user inputs batch script should able provide inputs (a known sequence of menu options , inputs).
is there anyway can achieve this?
to call batch file, refer link: several ways call windows batch file 1 or prompt. 1 in case?
to user inputs:
echo off set /p x=path name: echo path %x% pause
Comments
Post a Comment