Nico Heinze wrote:
>
> --- In [email protected] <mailto:c-prog%40yahoogroups.com>,
> charlie_chan <[EMAIL PROTECTED]> wrote:
> >
> > I made a CMD file to open the SQL Server Enterprise Manager
> > program from Visual Studio VC++ 6 IDE. The work I did opens
> > the desired program but a DOS window remains open also.
> > Is there a way to programmatically close the DOS window
> > from inside the CMD file? Here is the code I used
> > to open the program:
> >
> > "c:\MSSQL7\Binn\SQL Server Enterprise Manager.MSC"
>
> How about adding a line containing
> exit
>
> ?
>
> Regards,
> Nico
>
>
Thank you for the reply. I did try that yesterday but it did not work.
This a W2K Pro OS. I found out the the EXIT command must be
in uppercase format by playing around in the VDM window. But
inside the .CMD window it had no effect.