Can I use an if command to query whether a certain program is running and if not let it start?
Program: MSI Afterburner
Reason: Fortnite closes the afterburner and so deactivates my fans. If I forget to start the Afterburner again my graphics card overheats and switches off (safety shutdown due to excessive temperature)
I do not know if or how it works with batch, but you can create a user-defined fan curve in the MSI Afterburner, I mean it also runs when the Afterburner is closed.
No if the complete task was not finished. I've already tried it