Is there anyway to have preset data for user input in a batch file?

前端 未结 8 1072
野趣味
野趣味 2020-12-06 19:52

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

8条回答
  •  一个人的身影
    2020-12-06 20:49

    askingFile.cmd < response.txt
    

    Take the input to the batch from the indicated file, one line per answer

提交回复
热议问题