AmigaOS 4.0 - About OS4 - Commands
|
||||||||
|
||||||||
|
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.
CD does not search through the disk for the specified directory. It expects it to be in the current directory. If it is not, you must give a complete path to the directory. If CD cannot find the specified directory in the current directory or in the given path, a 'Can't find <directory>' error message is displayed. If you want 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 (/). Moving to another directory in the parent can be done at the same time by including its name after the slash. If the current directory is a root directory, CD / will have no effect. Multiple slashes are allowed; each slash refers to an additional higher level. When using multiple slashes, leave no spaces between them. To move directly to the root directory of the current device, use CD followed by a space and a colon, i.e. CD : CD also supports pattern matching. If more than one directory matches the given pattern, an error message is displayed. Example 1: Example 2: Example 3: Example 4: Example 5:
Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it. |