Is there a way to tell if LCARS24 (or one of its numerous batch files or DOS programs) is running? Is there one exe or bat that stays open the entire time, including when a DOS app is run?
Not really. LAUNCH.BAT is written by LCARS 24 when you launch a DOS app, overwriting any existing one of that name. Then LCARS 24 exists and invokes LAUNCH.BAT to run the DOS app and later relaunch LCARS 24, skipping the intro. When the user shuts LCARS 24 down, it creates a version of LAUNCH.BAT that tells DOS to echo a message: LCARS 24--Don't leave spacedock without it.
So it will either run LCARS24.exe or LAUNCH.bat at all times?
Launch.bat is only active if you run a DOS app. Creating it again to output a message under DOS at exit is just an afterthought.
yes, but whenever the program is active, one of the two will be open, right? (launch.bat during dos apps, LCARS24.exe during everything else)
LCARS 24 and LAUNCH.BAT are both active only after launching a DOS app from LCARS 24. However, LC.BAT is, I think, only created at exit. So making deletion conditional on existence of LC.BAT thould do the trick you have in mind, assuming it's not there at startup. LC.BAT is for user convenience, allowing quick start in the right graphics mode, skipping the intro fanfare. By the way, while the Defiant is battling that Borg cube, the Millennium Falcom (from Star Wars) is off to the left, as it was in the movie that clip came from (Star Trek: First Contact).
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.