Why does a new window open and quickly close when I execute a DOS command from scope for Windows?

There are two types of programs under Windows, namely, console programs and graphical programs. dL4 for Windows (scopew) is a graphical program and hence a separate console windows must be opened for console programs. That console window is closed as soon as the command is completed. The SYSTEM 30 statement can be used to execute a command in a hidden window.