# CHAIN > [HTML Version](chain.htm) _Written September 2024_ **CHAIN ** CHAIN terminates the current program (see [END](end.htm.md)) and executes the specified command line as it would be executed from the shell prompt in the current directory. If the first specified filename/token does not have a file extension, it is assumed to be RUN program, executed as "RUN ". To chain to a system command, it must be fully qualified. Both variations accept additional command line arguments. The system command variation also supports the ability to string multiple commands together, separated by chr(13) + chr(10). **Examples** CHAIN "MENU1" \! (RUN MENU1) CHAIN "MENU2/OPTION:1/SILENT" \! Argument passing CHAIN "SYS:HOST.LIT" \! Exit A-Shell CHAIN "SYS:LOG.LIT/N AR:" + chr(13) + chr(10) + "RUN ARMENU"