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
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.