1
用于在特定时间运行和关闭多个程序的批处理脚本
我需要创建一个批处理脚本,该脚本在特定时间运行某个程序,然后在10分钟后关闭它。例如 4:10 PM - Run C:\1.exe 4:20 PM - Close C:\1.exe 4:25 PM - Run C:\2.exe 4:35 PM - Close C:\2.exe 我该如何设法做到这一点? 这是我到目前为止: @echo off start C:\myfolder\1.exe wmic process where ExecutablePath='C:\\myfolder\\1.exe' delete 我不知道如何设置启动和终止进程的时间。