Skip to main content

Re: [JAVAHELP] Auto-Close console

No replies
Anonymous

Hi,

could you paste the script in myfile.bat here pl.
Or if possible could you write "return" at the end in myfile.bat.

If myfile.bat doesnt fork out a new cmd process, it must kill itsef using
return.

-----Original Message-----
From: java-help@JAVADESKTOP.ORG [mailto:java-help@JAVADESKTOP.ORG]
Sent: Tuesday, September 02, 2003 7:49 PM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Auto-Close console

I am the Java Help as Standalone Application from the MS-DOS command line
(com.exe; ex; start myfile.bat) using a batch file (myfile.bat). When I
close the help viewer the command window is still showing. I would like to
be able to get the close window listener from the help viewer and call
System.exit(0) to kill dos command window automatically. Thanks.

****************************************************************************
****

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at
http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.