Execute Program or Batch File |
Top Previous Next |
This escape sequence allows ZTERM 2000 to execute a Windows program or batch file. Unlike the Execute or Print Windows File escape sequence, this escape can include parameters for the program.
This escape sequence accepts embedded environment variables for the command. Example PRINT CHR$(27);CHR$(22); PRINT "NOTEPAD C:\AUTOEXEC.BAT";CHR$(0); ON ERROR GOTO ERRORS INPUT "";A$ END
ERRORS: IF ERR = 1 THEN PRINT "Error executing Windows program" END
Please note that this sequence is not supported on Windows CE versions of ZTERM. Also See |