Programming with Reflection
CloseDosWindowOnExit property
Syntax |
object.CloseDosWindowOnExit |
Data type |
This property affects DOS commands run with the Shell method. It returns (first syntax line) or specifies (second syntax line) whether the DOS window should be automatically closed when the DOS command finishes. When this property is set to True, the DOS window closes after the command runs; when it's set to False, the DOS window remains open until it is closed by the user.
The default is True.