UPDATE# NEW SCRIPT PROGRAMMING COMMANDS AND FEATURES IF [ NOT ] EXIST Succeeds if the given file exists, fails otherwise. IF [ NOT ] INPATH Succeeds if the given file can be found by normal DOS search rules, i.e. if it is in the current disk/directory, or in the DOS PATH. INCREMENT [ ] Adds the , which must be a positive number (or a variable that evaluates to a positive number), to the value of the given variable. If the is not specified, then 1 is added. If the is not defined or has a non numeric value, the command fails and the value of the variable is not altered. DECREMENT [ ] Subtracts the , which must be a positive number (or a variable that evaluates to a positive number), from the value of the given variable. If the is not specified, then 1 is subtracted. If the is not defined or has a non numeric value, the command fails and the value of the variable is not altered. STOP [ [ ] ] Stops execution of the current macro or TAKE file and returns immediately to top command level. The and operands are new. is a return code that can be tested by IF SUCCESS. It is also assigned to \v(status). Text is an optional message to be printed. END [ [ ] ] Stops execution of the current macro or TAKE file and returns immediately to the level which invoked it, i.e. the next higher level. and are used as in the STOP command. POP is a synonym for END. \L in an OUTPUT string sends a Long (1.5 second) BREAK. On a network connection, it sends the same thing that \B (regular BREAK) would send, such as a TELNET BREAK command. New variables: \v(dosversion) - MS-DOS version, e.g. 500 for DOS 5.00. \v(line) - Current SET PORT value: COM1, COM2, TCP/IP, etc. \v(ntime) - Numeric representation of current clock time: hhmmss \v(port) - Same as \v(line) \v(session) - Current TCP/IP session number \v(terminal) - Current terminal emulation type Note: \v(ndate) and \v(ntime) are suitable for construction of filenames. .