The information in this article applies to:
SYMPTOMSIf you use the Shell command to run an MS-DOS program, the MS-DOS box remains on the screen, and you must manually close the box. CAUSEThe Close On Exit property is not set for the MS-DOS window. WORKAROUNDTo work around this problem, use either of the following methods. Method 1
Method 2Start the program using the MS-DOS command interpreter, Command.com, with the /C switch. This switch closes the window after the program quits. For example, to run a batch file, use the following command:Shell "command.com /c foo.bat" REFERENCESFor help with Command.com switches, start MS-DOS Prompt, type command /?, and press ENTER. Additional query words: 8.0 8.0 doesn't remains stays open
Keywords : word8 kbwordvba word7 word95 |
Last Reviewed: December 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |