Computer Hope
Microsoft => Microsoft DOS => Topic started by: Petrjan128 on January 04, 2022, 09:37:14 AM
-
I want my batch file to do 2 things:
1. Run on windows start
2. Check if and .exe file is running -> If not, then run it
-> If yes, check again with delay of 10 minutes
-----------------------
I think i have the right command for the first point-> START /MAX C:\Windows\application1
But i can not figure out how to do the second point :/
Can anybody help me?
-
Check if a process is running or not? (https://stackoverflow.com/a/23283460/3080770)