oem.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CALL--Notes
Examples  Syntax
────────────────────────────────────────────────────────────────────────────
 
                                CALL──Notes
 
Using batch-parameters
 
Batch-parameters can contain any information that you can pass to a batch
program, including switches, filenames, the replaceable parameters %1
through %9, and environment variables such as %baud%.
 
Using pipes and redirection symbols
 
Do not use pipes ("|") and redirection symbols ("<<","<",">", and ">>") with
the CALL command.
 
Making a recursive call
 
You can create a batch program that calls itself; however, you must provide
an exit command. Otherwise, the parent and child batch programs can loop
endlessly.
                                      ♦