Changes current directory, PC Windows only.
||Directory to change to|
||Saves new directory|
%CD directive can be used to change directory under Windows or DOS. The
DIRECTORY specifies the directory as a text containing either the absolute or relative pathname, for example
Note that a forward slash (
/) may be used as a directory separator character, as the backwards slash ( \ ) is the Genstat continuation character and would have to be doubled up. Environment variables may be used in the path name, for example
%GENDIR% can be used to specify the Genstat root directory (eg. C:).
CURRENT parameter saves the new directory name. You can obtain the name of the current directory by typing the command
%CD '.'; CURRENT=curdirwhich will set up
curdir as a text containing the current directory name.