Download FILE - Minisoft
Transcript
7.2.1.1 Entering Multiple Commands A series of commands can be given by entering interactive command mode. In interactive mode, the command prompt reappears after each command is executed. The INTERACTIVE command enters interactive mode. To terminate interactive mode, use the ENDINTERACTIVE command. 7.2.2 Executing from the Host Emulator commands may be executed by the host using a DCS private control sequence. CS 5|Command I Note: StringST CS and ST are 8-bit characters that can only be used I ES [ is the 7-bit equivalent of CS . ES \ is the 7-bit C I C Example: CS 5|SET HOST /DISCONNECTS I T ES [5|SET HOST /DISCONNECTES \ C C on systems that support full 8-bit characters. equivalent of ST . or These commands are used to disconnect the currently connected port.. 7.3 COMMAND FILES Command files are text files that contain emulator commands. Command files are useful for automating tasks such as transferring files, logging on, and defining keyboard configurations. However, command files are not limited to these functions. Chapter 8 (Command File Programming) covers more advanced programming topics. A command file executes each emulator command in sequence. Emulator command files execute from: o o o o o The command line prompt A key definition The host computer The modem dialer A command file 7.3.1 Specifying a Command File Prefixing a filename with an at symbol (@) tells the emulator to expect a command file. If the filename does not include an extension, the emulator automatically appends .ECF to the filename. The default filename extension of .ECF may be overridden by specifying an extension with the command file name. A command file name can also include a path specification. Command files can be executed using a search path. Click on Setup - General - Directories to set the command file default directory (search path). Chapter Seven - Command Language 129