0

I want to make a batch file to run a couple of programs but I also want to add a built in check for one of the two to not run if it's already open, since it I use it with other programs as well.

This is my current code without the check:

@echo off

cd "B:\Program Files (x86)\Borderless Gaming
start BorderlessGaming.exe"

cd "B:\Games\Madden NFL 20
start Madden20.exe"

exit
  • Check this ==> [Check if a process is running or not?](https://stackoverflow.com/questions/23266509/check-if-a-process-is-running-or-not?answertab=active#tab-top) – Hackoo Oct 10 '19 at 08:59
  • 1
    Possible duplicate of [Check if a process is running or not?](https://stackoverflow.com/questions/23266509/check-if-a-process-is-running-or-not) – Gerhard Oct 10 '19 at 09:33

0 Answers0