Re: Batch File Problem




"Don Phillipson" <d.phillipsonSPAMBLOCK@xxxxxxxxxx> wrote in message
news:OdWaH67GIHA.4684@xxxxxxxxxxxxxxxxxxxxxxx
"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.

Command Line commands can open and close a Window.
Have a look at the /B switch for the "Start" command.

2. BATch files execute DOS functions in a DOS window.

There is no DOS under Windows and there are no DOS
functions. Perhaps you mean "GUI" applications and
Command Line commands? DOS is an obsolete operating
system. Windows emulates certain components of DOS
but a Command Prompt is definitely not DOS, although
even Microsoft engineers sometimes slip and call it DOS.

3. Windows functions cannot be executed in a DOS
environment.

Not true. You can invoke any command or any GUI
application from a Command Line environment.


.



Relevant Pages

  • Re: NTVDM hard error on Windows 2003 Server SP1
    ... Windows 2003 Server SP1 platform, there is a pop-up box with the error ... run regedit.exe from a DOS window command prompt. ... The server is not a domain controller, and is on a LAN with a Windows ...
    (microsoft.public.windows.server.general)
  • Re: Wildcard on Folder Name
    ... This is not DOS - it is the Command Prompt. ... Microsoft Windows XP - Command-line reference A-Z ... Microsoft Windows XP - MS-DOS subsystem commands ...
    (microsoft.public.windowsxp.general)
  • Re: "Read-only" Folders
    ... "Dos attrib command" - that's why. ... anti-Windows folks tell me that Windows is ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Multi-zip files -- Windows server
    ... native DOS versions). ... TO BATCH OR NOT TO BATCH ... and using a batch file to try and solve the problem... ... The IBM PC operating system command line is a most ...
    (comp.sys.cbm)
  • Re: DOS / XP bat file programming question
    ... How do I feed a "y" response to a DOS command that wants to prompt me ... Note that DOS is an operating system, same as Windows XP. ... There is no DOS under Windows, only a Command Prompt. ...
    (microsoft.public.windowsxp.general)