Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/batch-file/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Batch file 在批处理脚本中运行2个exe文件之间添加延迟_Batch File - Fatal编程技术网

Batch file 在批处理脚本中运行2个exe文件之间添加延迟

Batch file 在批处理脚本中运行2个exe文件之间添加延迟,batch-file,Batch File,我想使用bat命令运行两个exe文件,例如1.exe和2.exe。我只需要先运行1.exe,然后等待30秒,然后运行2.exe。如何使用批处理脚本编写它可能重复:是。在上述注释的引文中准确描述了等待的方法。问题中指定的1和2是两个autoit脚本,因此当我在两个脚本之间运行等待时,会发生重叠,即,我感觉两个脚本同时运行。我试着等30到30000。

我想使用bat命令运行两个exe文件,例如1.exe和2.exe。我只需要先运行1.exe,然后等待30秒,然后运行2.exe。如何使用批处理脚本编写它

可能重复:是。在上述注释的引文中准确描述了等待的方法。问题中指定的1和2是两个autoit脚本,因此当我在两个脚本之间运行等待时,会发生重叠,即,我感觉两个脚本同时运行。我试着等30到30000。