So basically I have a batch file that requires alot of user input. I was wondering if it was possible to have any filler data already present when the question is asked, and
askingFile.cmd < response.txt
Take the input to the batch from the indicated file, one line per answer
nearly impossible to edit a preset value with pure batch, but you can easily give a default value (works, because set /p
is not touching the variable, if input is empty)
set "author=First Last"
set /p "author=Enter name or press [ENTER] for default [%author%]: "
echo %author%