Answers:
1)您无需单独打开cmd窗口。您可以使用start
命令后跟exe的路径。点击此处:https://stackoverflow.com/questions/221730/bat-file-to-run-a-exe-at-the-command-prompt
2)要读取参数,您可以使用如下语句:set /p name= What is your name?
提示用户提问“您的名字是什么?” 并接受变量'p'中的输入。点击此处查看更多信息:https://stackoverflow.com/questions/1223721/in-windows-cmd-how-do-i-prompt-for-user-input-and-use-the-result-in-another-com