From: "Morpheus" Newsgroups: comp.os.msdos.djgpp Subject: Re: can you run a program without the dos box Date: Thu, 18 Nov 1999 17:16:14 -0600 Organization: University of North Texas Lines: 34 Message-ID: <8121cg$9ve@hermes.acs.unt.edu> References: <80vqj2$tbe$1 AT nnrp1 DOT deja DOT com> <810n54$9v1$1 AT news00 DOT btx DOT dtag DOT de> NNTP-Posting-Host: dfw-premium-16.dialup.unt.edu X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Actually, there is a supplementary scripting language that will do just that. The scripting language is called Windows Interface Language, and the software package is called WinBatch. It's available at www.windowware.com. You can run the program from a script with Run(), and you can hide the window with Hide(). Consult the help files for the specifics. I don't know of any other way to do it -- unless there is an option in the Start command. If there is, you can make a shortcut to Start.exe yourprogram.exe -someoption, where -someoption minimizes or hides your window. Start is a program already on Windows. It is evoked by shortcuts or the Run option on the start menu. Morpheus hall AT cs DOT unt DOT edu http://people.unt.edu/~dahall Raul Carolus wrote in message news:810n54$9v1$1 AT news00 DOT btx DOT dtag DOT de... > > > i wrote a program that will create a report of files in the current > directory > > but when i "double click" on it it will pop up a dos box that will remain > > there after the program end. > > > > There's an option you can set in the shortcut to have that window close > automatically after the program ends. There is really no way around this, > (that i know of). Right click on the program and choose properties and it's > in the program tab. > > >