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分钟_Batch File - Fatal编程技术网

Batch file 我需要批处理或命令行来重新启动'';过程<;名称>'';流程结束后2分钟

Batch file 我需要批处理或命令行来重新启动'';过程<;名称>'';流程结束后2分钟,batch-file,Batch File,我需要批处理或命令行在进程结束2分钟后重新启动“进程”。我有一个脚本,也许你可以帮我在那里添加该行,谢谢你这将启动程序并等待它终止。一旦程序终止,脚本将等待两分钟,然后再次启动程序 start "" /wait "process" timeout /t 120 start "" "process" 你能在这个脚本上添加这行吗?

我需要批处理或命令行在进程结束2分钟后重新启动“进程”。我有一个脚本,也许你可以帮我在那里添加该行,谢谢你这将启动程序并等待它终止。一旦程序终止,脚本将等待两分钟,然后再次启动程序

start "" /wait "process"
timeout /t 120
start "" "process"

你能在这个脚本上添加这行吗?