SYSTEM Library Routine

The SYSTEM routine can be used to initiate 32-bit Windows and console-mode programs. In either case, the program you start runs in its own window. While the called program is running, the window containing the calling program does not accept input from the user.

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"

See SYSTEM for more information.