


2. The "SYSTEM" library routine operates differently. You may use it to initiate both MS-DOS programs and 32-bit Windows programs. In either case, the program you start will run in its own window.
While it's running, the window containing the calling program will not accept input from the user. For MS-DOS programs, the "PIF" file for the called program will determine how it runs. (See the 32-bit Windows documentation for information on PIF files. PIFs tell 32-bit Windows how to use DOS programs.)
When CALL "SYSTEM" is used to initiate a program, it looks only for files with a ".EXE" extension. If you want to call a ".COM" or ".BAT" file, you must explicitly add that extension in your code. For example:
CALL "SYSTEM" USING "MYBATCH.BAT"