View Single Post
  #14 (permalink)  
Old 07-01-2009, 07:10 AM
ju.c
Newsgroup Contributor
 
Posts: n/a
Re: Batch File Questions

To hide the command window use this:

Hidden Start 22 KB (Freeware)
Web: http://www.ntwind.com/software/utilities/hstart.html
Download: http://www.ntwind.com/download/hstart.zip

To close the command window, add this to the end of your batch file:

CLS
EXIT


ju.c


"Lushington" <Lushington@discussions.microsoft.com> wrote in message news:E4484895-A1D2-4FA2-9CF7-31E0DAA75EED@microsoft.com...
> It's been a long time since I've done any batch programming and I need my
> memory refreshed.
>
> If I start two applications in sequence
>
> @echo off
> "C:\Program Files\My Application\My Program" /parameters
> "C:\Program Files\Another App\Another Program" /parameters
>
> Does the first program have to complete before the second one starts (which
> is what I want)? Or do I have to be a little fancier?
>
> A Command Prompt window opens when the batch file is executed. Is there a
> way to close the Command Prompt window before the programs complete?

Reply With Quote

 
Old 07-01-2009, 07:10 AM