Reply-To: From: "Arthur" To: "DJGPP Mailing List" 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit In-Reply-To: Importance: Normal Precedence: bulk > > 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