EKKO command summary. ===================== command $!remarks! "!" -- a remark, ignored -- to allow documenting command $# "#" -- print % $$ "$" -- print $ $%NAME% "%" -- print variable as a literal, same as $=NAME= but usable where "=" not allowed. Use $=name= in batch file or in 4DOS command line. Use this version in a variable to be expanded later where "=" is not allowed. $' "'" -- print " (quote). Useful in 4DOS where unmatched double-quotes are not allowed -- replace the unmatched quote in an EKKO statement with $'. Also prevents redirection problems when double-quote is present. $( "(" -- redirect output to COM1 $) ")" -- cancel ekko redirection $* "*" -- screen-dump (except disabled in Sanyo version) $+ "+" -- set bit 7 of output (with exceptions) $, "," -- terminate ekko with cr,lf $- "-" -- cancel $+ $/d "/" -- print path for drive d $0 "0" -- clear screen. Colour set by $Uhh. $; ";" -- terminate ekko without cr,lf at end $=NAME= "=" -- print variable as a literal, same as $%NAME% but usable where "%" not allowed $@nnc "@" -- Cursor control. nn is optional decimal parameter If screen scrolls, colour for new lines are set by a preceding $Uhh. $@nnA "A" -- A is for Advance (can force scroll) $@nnB "B" -- B is for Back Up (can force scroll) $@nnD "D" -- D is for Down $@nnH "H" -- H is for Horizontal position $@nnL "L" -- L is for Left (can't force scroll) $@nnO "O" -- O is for Origin (home cursor, H was taken) $@nnR "R" -- R is for Right (can't force scroll) $@nnT "T" -- T is for Tab (can force scroll) $@nnU "U" -- U is for Up $@nnV "V" -- V is for Vertical position $Ahh "A" -- sends hex. byte to ANSI driver (if present) $B "B" -- prints | $Chh "C" -- sends hex. byte to COM1 $D "D" -- prints Date, format can be user defined $E "E" -- prints ESC character $G "G" -- prints > $H "H" -- destructive backspace (bs,space,bs) $J "J" -- clear screen, same as $0 $L "L" -- prints < $N "N" -- prints current drive letter $O "O" -- cursor to Origin, same as $@nnO $P "P" -- prints current Path for current drive. $Q "Q" -- prints = $Rnndttttd "R" -- Repeats text, "tttt" delimited by "d" for "nn" times. $S "S" -- prints a Space. For 4DOS users, this may have to be the first printable item on the line if you wish to print leading spaces as 4DOS deletes leading spaces from the command line. An initial "$s" for the first space will prevent the loss of the leading spaces. $T "T" -- prints the Time (format user definable) $Uhh "U" -- defines attribute to Use with BIOS screen output commands: ($0, $@nnA (if scroll), $@nnB (if scroll), $@nnT (if scroll), $Yhh, $Zhh) If $Uhh does not precede these commands, a default colour of low-intensity white on black is used. $V "V" -- prints DOS Version $Whh "W" -- prints (Writes) hex. byte to LPT1 $Xhh "X" -- prints hex. byte to current output $Yhh "Y" -- prints hex. byte to screen as a literal (no control action) (same as "$Zhh$@A") Colour set by $Uhh. $Zhh "Z" -- pokes hex. byte to screen without cursor advance. Colour set by $Uhh. $[ "[" -- redirects output to ANSI driver (CON) bypassing any printer echoing due to ^P $\d "\" -- print path for drive d, same as $/d $] "]" -- cancel ekko internal redirection $^c "^" -- print character c as control character (turn off bits 5 and 6). Not recommended with 4DOS, use $Xhh instead. $_ "_" -- print cr,lf pair ${ "{" -- redirect output to LPT1 $} "}" -- cancel ekko internal redirection %name% "% %" -- print environment variable, expand ekko commands in variable. Use %%name%% in batch file or in 4DOS command line. %name=% "% =%" -- print environment variable, expand only those ekko commands also supported by PROMPT. Use %%name=%% in batch file or in 4DOS command line. Supported by PROMPT in COMMAND.COM ================================== $$ "$" -- print $ $B "B" -- prints | $D "D" -- prints Date, format fixed for PROMPT $E "E" -- prints ESC character $G "G" -- prints > $H "H" -- destructive backspace (bs,space,bs) $L "L" -- prints < $N "N" -- prints current drive letter $P "P" -- prints current Path for current drive $Q "Q" -- prints = $T "T" -- prints the Time, format fixed for PROMPT $V "V" -- prints DOS Version $_ "_" -- print cr,lf pair