FORMAT: CD [(dir | pattern)] Template: DIR Location INTERNAL
CD with no arguments displays the name of the current directory. When a valid directory name is given, CD makes the named directory the current directory.
You must specify a complete path to the directory since the CD does not search through the disk for it. If CD cannot find the
specified directory or inthe given path, a can't find
To move up a level in the filing hierarchy to the parent directory of the current directory, enter CD followed by a space and a single slash (/). You can move to another directory in the parent at the sam time by including its name after the slash.
AmigaDOS supports an i,plied CD so that the CD command itself can often be left out. Just enter the directory name, path, colon, or slashes at the prompt.
CD also supports pattern matching. When the directory matching the specified pattern is found, it becomes the current directory. Ifmore than one directory matches the given pattern, an error message is given. You cannot see implied pattern matching with CD.
Example
sets the current directory to the work directory on the disk drive DF1:
makes the subdirectory Basic in the Com directory the current directory.
using the implied CD, moves up two levels in the directory structure.
uses the #? pattern to match with the LIBS: directory.
See also PCD