Mail Archives: djgpp/1998/08/28/07:17:51
Reply-To: | <arfa AT clara DOT net>
|
From: | "Arthur" <arfa AT clara DOT net>
|
To: | "DJGPP Mailing List" <djgpp AT delorie DOT com>
|
Subject: | RE: Can a DOS Console App close its own window?
|
Date: | Fri, 28 Aug 1998 12:16:42 +0100
|
Message-ID: | <000401bdd275$55924da0$b84d08c3@arthur>
|
MIME-Version: | 1.0
|
In-Reply-To: | <Pine.SUN.3.91.980827143714.6326b-100000@is>
|
Importance: | Normal
|
> > You can set up a DOS window on Windoze95 so it will automatically close
> > on program exit. So, if you make a shortcut to your DOS program, just go
> > to the shortcut's properties screen and choose that option.
>
> This doesn't help. This thread was about how a running program causes
> its own DOS box to be closed. Since the program cannot be sure the
> property you mention is set, it cannot just exit. If there is a way
> to set that property from within a running program, I'd like to know
> how this can be done.
>
You could always distribute a shortcut with the program itself. Create a shortcut to
the program, and select close on exit. Then whenever anyone runs either the shortcut
or the program itself, the dosbox will close on exit. Not the answer you're looking
for, but it is a (very bad) solution.
James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819
- Raw text -