The following examples use the settings for HOME and CDPATH shown above.
cdx
Go to the c:\u\brian
(HOME) directory.
cdx a:
Go to the current directory on the A drive.
cdx d:/tmp
Go to the \tmp
directory on the D drive.
cdx include
Go to the include directory within the current directory. If it doesn't exist, then use the list of directoies in CDPATH and go to the first of the following directories that exists:
c:\u\brian\include c:\Program Files\include e:\watcom\include |