CD

This command will set the current working directory to the specified path.

  Syntax
CD Path$
  Parameters
Path$
String
The path can be absolute or relative. Absolute paths contain the entire path including the drive letter. A relative path assumes the program has a valid current working directory and continues the path from the current location

  Returns

This command does not return a value.

  Description

The path can be absolute or relative. Absolute paths contain the entire path including the drive letter. A relative path assumes the program has a valid current working directory and continues the path from the current location. Alternatively you can use the command SET DIR which does the same thing.

  Example Code
cls
print "appname= "+appname$()
cd "c:\docs\mysourcecode"
dir
cd ".."
dir
cd "mysourcecode"
dir
do
loop
end
  See also

FILE Commands Menu
Index