Re: Batch File Problem
- From: Tim Slattery <Slattery_T@xxxxxxx>
- Date: Wed, 31 Oct 2007 12:32:45 -0400
"Don Phillipson" <d.phillipsonSPAMBLOCK@xxxxxxxxxx> wrote:
"Tony P." <noone@xxxxxxxxxxxxxxxxx> wrote in message
news:Osr25e6GIHA.4592@xxxxxxxxxxxxxxxxxxxxxxx
The batch file works ok but it leaves a blank command (DOS)window on
the screen. The only thing in the command window is a flashing cursor. I
would like close this window using the batch file after the file executes.
You cannot . . .
1. Opening and closing windows is a Windows function.
2. BATch files execute DOS functions in a DOS window.
3. Windows functions cannot be executed in a DOS
environment.
But there's no DOS in WinXP. A command console is a 32-bit
environment, and apps that run in this environment can do anything
that a GUI Windows app can do. They can start other apps, they can
show windows themself, they can send messages to GUI applications.
BTW, The "DOS Box" in Win9x was also a 32-bit environment. Command
line apps there could do these things too.
Both environments have the ability to run 16-bit code also.
--
Tim Slattery
MS MVP(Shell/User)
Slattery_T@xxxxxxx
http://members.cox.net/slatteryt
.
- References:
- Batch File Problem
- From: Tony P.
- Re: Batch File Problem
- From: Don Phillipson
- Batch File Problem
- Prev by Date: Re: updates are not installed
- Next by Date: Re: vista?
- Previous by thread: Re: Batch File Problem
- Next by thread: Re: Batch File Problem
- Index(es):
Relevant Pages
|
|