如何使批处理文件在关闭(启动cmd)之前不等待应用程序关闭

问题描述 投票:-2回答:1

所以我有一个类似的代码:

start explorer.exe "F:\..."
start explorer.exe "C:\..."
start ...
echo Goodbye!
title Goodbye!
timeout 1 /nobreak >nul
exit

但是,当我运行它时,它会打开窗口,但要等它关闭后再继续执行回声...如何停止它,让它通过而无需等待?

batch-file cmd command
1个回答
0
投票

如何编写不等待命令完成的cmd批处理脚本。

为正在暂停批处理的程序创建快捷方式。

启动快捷方式:

start "" %WINDIR%\HousecallLauncher64.exe.lnk 

您的批次不会停止。

© www.soinside.com 2019 - 2024. All rights reserved.