怎样让bat文件运行程序成功后自动关闭cmd窗口

2025-04-15 03:38:08
推荐回答(1个)
回答1:

在要执行的文件前加 start  ,在功能完成后加写一行 exit 语句

例如:

start D:\...\...\*.exe
exit