该如何编写?
bat吧
全部回复
仅看楼主
level 1
30329434 楼主
现在有一个程序A 需要让程序A不断保持开启 但现在出现了一些问题 导致程序A每过一段时间会自动关闭 能否使用程序B 当感应程序A关闭的时候重新开启它呢?应该怎么编写?
2015年07月28日 04点07分 1
level 1
30329434 楼主
先顶
2015年07月28日 05点07分 2
level 1
30329434 楼主

2015年07月28日 08点07分 3
level 8
set set=填写程序A程序名
set findst=填写程序A启动路径
:loot
tasklist|findst "%set%"||"%findst%"
goto loot
2015年07月29日 06点07分 5
没有编程基础 请问启动路径应该怎么填? 到时候不是在自己的机器上运行的
2015年07月29日 07点07分
@30329434 点文件鼠标键属性,里面的有文件路径
2015年07月29日 07点07分
闪一下之后就自己关掉了
2015年07月29日 07点07分
你直接复制粘贴的?
2015年07月29日 07点07分
1