Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试创建一个运行 .exe 的批处理文件,但在大约 10 秒后(在它完成之前)杀死所说的 .exe,然后继续执行文件中的下一个命令。任何帮助将不胜感激。
你可以使用这个:
start program.exe ping 127.0.0.1 -n 10 taskkill /im program.exe /f rem continue here echo Another command!