Accept console input from the specified text file instead of from the keyboard. If the extension is omitted, .PRG is assumed.
*EXEC
OSCLI "EXEC """+cmdfile$+""""
Once the entire file has been read, keyboard input is restored. *EXEC without a filename closes the file and restores keyboard input immediately.
Syntax
*EXEC [filename]