Changing the current directory CD Display name of current directory CD path Change to a new directory The CD command with no arguments causes the display of the name of the current directory. You can ensure the wole directory path appears in your prompt by using the option 0 1 command The CD command followed by the name of a directory causes that directory to become the current directory. CD /f0 Makes the root directory of floppy 0 current CD .. Moves up a directory level CD mydir Moves down a level CD ../mydir Moves across a level The system changes back to the current directory after a reset, from Version 4 on. Older versions did not.
Creating a directory MKDIR path [path ...] Make directory, or multiple directories. The MKDIR command creates a new sub-directory as specified by PATH. The directory size is rounded up to a multiple of 16 each time it runs out of space for new files. Remember that very large directories make it hard to find things, and may slow down the system. There is no provision for shrinking the size of directories if the number of files decrease. Setting the execution search path XPATH Display path setting XPATH - Clear all paths XPATH path1 [path2] ... Set paths XPATH + path1 [path2] ...
Add paths It is often desirable for the system to search a number of directories for executable files when they are to be loaded and run. Suppose, for example, that you wish to run the 1616 assembler, SSASM. It possibly resides in /F0/BIN, or in /RD/BIN, or in /F1, etc. It is much simpler to simply type ‘SSASM’ and let the system do the searching. The XPATH command allows you to specify which directories are to be searched when the system is looking for .xrel , .shell and .exec files to execute. When the name of an executable file is typed, the system searches the current directory, followed by those directories specified in the execution path, as entered by the XPATH command.
If option .19 1 is set on, the xpath directories (normally cached) are re-read every time an unrecognised command is encountered. Turning option .19 off gives quicker turnround on mistyped 1616/OS Commands User Tutorial Manual Page 71