TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Geoff Armstrong
from: Andrew MacIntyre
date: 1994-01-12 19:07:38
subject: Detecting running copies

On Jan 10 1994 (00:00), Geoff Armstrong of 3:640/206 wrote:

 GA> Hi all! I was wondering if there is any way to detect if a 
 GA> DOS program is already running in a DOS Box under windows.

{deleted for brevity}

This isn't necessarily a complete or satisfactory answer to your problem,
however it might give you something to work on.

I've seen suggestions for solving the type of problem you describe using
WinBatch, which is a "batch" language for Windows.  It involves
activating the DOS app via a script, and the script can check the window
title.  I believe that Norton Desktop for Windows includes a licenced
WinBatch subset.

By implication then, you could write a _Windows_ util which would look at
the window titles, and if the target already existed bring it to the top,
otherwise start it up.
Regards, Andrew.

--- Msgedsq 2.2e

* Origin: What a Coherent Point! Canberra, Oz (3:620/243.18)
SEEN-BY: 50/99 54/54 620/243 250 252 262 622/405 623/630 711/409 430 807 808
SEEN-BY: 711/809 932 934 712/623 713/888 714/906 800/1
@PATH: 620/243 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.