CHDIR
CHDIR dir
Changes the current working directory to dir
. In Windows
\
needs to be replaced by \\
See CWD to get the current working directory.
Example 1: Linux
print cwd
chdir "/usr/bin"
print cwd
Example 2: Windows
print cwd
chdir "C:\\"
print cwd
Code samples using CHDIR
File
ACCESS
BGETC
BLOAD
BPUTC
BSAVE
CHDIR
CHMOD
CLOSE
COPY
DIRWALK
EOF
EXIST
FILES
FREEFILE
INPUT
INPUT
KILL
LOCK
LOF
MKDIR
OPEN
READ
RENAME
RMDIR
SEEK
SEEK
TLOAD
TSAVE
WRITE
If there is insufficient information on this page and you wish learn more about CHDIR,
please send an email to smallbasic@gmail.com. You can help to improve information about
CHDIR by submitting a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.