# TTL command reference

Command index

## Communication commands

- bplusrecv
- bplussend
- callmenu (version 4.56 or later)
- changedir
- clearscreen
- closett
- connect
- cygconnect (version 4.57 or later)
- disconnect
- dispstr (version 4.67 or later)
- enablekeyb
- flushrecv
- gethostname (version 4.61 or later)
- gettitle
- kmtfinish
- kmtget
- kmtrecv
- kmtsend
- loadkeymap
- logautoclosemode (version 4.79 or later)
- logclose
- loginfo (version 4.73 or later)
- logopen
- logpause
- logrotate (version 4.78 or later)
- logstart
- logwrite
- quickvanrecv
- quickvansend
- recvln
- restoresetup
- scprecv (version 4.57 or later)
- scpsend (version 4.57 or later)
- send
- sendbreak
- sendbroadcast (version 4.62 or later)
- sendfile
- sendkcode
- sendln
- sendlnbroadcast (version 4.62 or later)
- sendmulticast (version 4.62 or later)
- setbaud (version 4.58 or later)
- setdebug (version 4.64 or later)
- setdtr (version 4.59 or later)
- setecho
- setmulticastname (version 4.62 or later)
- setrts (version 4.59 or later)
- setsync
- settitle
- showtt
- testlink
- unlink
- wait
- wait4all (version 4.63 or later)
- waitevent
- waitln
- waitn (version 4.62 or later)
- waitrecv
- waitregex (version 4.21 or later)
- xmodemrecv
- xmodemsend
- ymodemrecv (version 4.66 or later)
- ymodemsend (version 4.66 or later)
- zmodemrecv
- zmodemsend

## Control commands

- break (version 4.53 or later)
- call
- continue (version 4.77 or later)
- do, loop (version 4.56 or later)
- end
- execcmnd
- exit
- for, next
- goto
- if, then, elseif, else, endif
- include
- mpause (version 4.27 or later)
- pause
- return
- until, enduntil (version 4.56 or later)
- while, endwhile

## String operation commands

- code2str
- expandenv (version 4.71 or later)
- int2str
- regexoption (version 4.78 or later)
- sprintf (version 4.52 or later)
- sprintf2 (version 4.62 or later)
- str2code
- str2int
- strcompare
- strconcat
- strcopy
- strinsert (version 4.67 or later)
- strjoin (version 4.67 or later)
- strlen
- strmatch (version 4.59 or later)
- strremove (version 4.67 or later)
- strreplace (version 4.67 or later)
- strscan
- strspecial (version 4.67 or later)
- strsplit (version 4.67 or later)
- strtrim (version 4.67 or later)
- tolower (version 4.53 or later)
- toupper (version 4.53 or later)

## File operation commands

- basename (version 4.69 or later)
- dirname (version 4.69 or later)
- fileclose
- fileconcat
- filecopy
- filecreate
- filedelete
- filelock (version 4.74 or later)
- filemarkptr
- fileopen
- filereadln
- fileread (version 4.48 or later)
- filerename
- filesearch
- fileseek
- fileseekback
- filestat (version 4.66 or later)
- filestrseek
- filestrseek2
- filetruncate (version 4.67 or later)
- fileunlock (version 4.74 or later)
- filewrite
- filewriteln
- findfirst, findnext, findclose
- foldercreate (version 4.69 or later)
- folderdelete (version 4.69 or later)
- foldersearch (version 4.69 or later)
- getdir
- getfileattr (version 4.69 or later)
- makepath
- setdir
- setfileattr (version 4.69 or later)

## Password commands

- delpassword
- getpassword
- ispassword (version 4.75 or later)
- passwordbox
- setpassword (version 4.75 or later)

## Miscellaneous commands

- beep
- bringupbox (version 4.78 or later)
- checksum8 (version 4.78 or later)
- checksum8file (version 4.78 or later)
- checksum16 (version 4.78 or later)
- checksum16file (version 4.78 or later)
- checksum32 (version 4.78 or later)
- checksum32file (version 4.78 or later)
- closesbox
- clipb2var (version 4.46 or later)
- crc16 (version 4.78 or later)
- crc16file (version 4.78 or later)
- crc32 (version 4.60 or later)
- crc32file (version 4.60 or later)
- exec
- filenamebox (version 4.54 or later)
- getdate
- getenv
- getipv4addr (version 4.78 or later)
- getipv6addr (version 4.78 or later)
- getspecialfolder (version 4.72 or later)
- gettime
- getttdir (version 4.60 or later)
- getver (version 4.58 or later)
- ifdefined (version 4.46 or later)
- inputbox
- intdim (version 4.72 or later)
- listbox (version 4.78 or later)
- messagebox
- random (version 4.27 or later)
- rotateleft (version 4.54 or later)
- rotateright (version 4.54 or later)
- setdate
- setdlgpos
- setenv (version 4.54 or later)
- setexitcode
- settime
- show
- statusbox
- strdim (version 4.72 or later)
- uptime (version 4.81 or later)
- var2clipb (version 4.46 or later)
- yesnobox