Re: Batch File Problem



"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.

--
Don Phillipson
Carlsbad Springs
(Ottawa, Canada)


.



Relevant Pages

  • Re: Sharing an MSDOS-based program on a home network
    ... You need to customize a batch file for the ME machine to ... for DOS purposes. ... a DOS window appears on the ME machine titled OWARE with: ... >> a batch file that then starts the DOS program. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Batch Files Dont Stay Open
    ... I created a shortcut to the desktop and when I try to run a batch file the dos window opens then closes quickly. ...
    (microsoft.public.windowsxp.general)
  • Re: Batch File Problem - Batch File Enclosed
    ... I have added a batch file to my Startup folder to execute whenever ... The batch file works ok but it leaves a blank command ... I would like close this window using the batch file ...
    (microsoft.public.windowsxp.general)
  • Re: Batch File Problem - Batch File Enclosed
    ... I have added a batch file to my Startup folder to execute whenever ... The batch file works ok but it leaves a blank command ... I would like close this window using the batch file ...
    (microsoft.public.windowsxp.general)
  • Re: Schedule Batch File-How to?
    ... Windows command that you are using within the batch file. ... you will not be using the batch file anymore. ... This window will also display your computer name and your user login name. ... The properties window for the new scheduled task should now be open. ...
    (microsoft.public.windowsxp.general)