changedir

Changes the File transfer directory.

changedir <path>

Remarks

Changes the File transfer directory for Tera Term to <path>.

File name specified for the send communication commands (e.g. sendfile, kmtsend) and destination folder for receive commands (e.g. zmodemrecv) are based on the "File transfer directory used by Tera Term."

If filename specified in communication command is a relative path, it is based on "File transfer directory used by Tera Term". If the file name is an absolute path, it is not affected.

Note

The changedir command changes "File transfer directory for Tera Term."
The setdir command changes "current working directory for MACRO."

The File transfer folder also affects log save location. Reffer to Folder to put setup files.

Example

changedir 'c:\'
sendfile 'd:\source\code.dat' 1

See also