The CDD command changes the current drive and directory to the given pathname.
If the pathname supplied includes an explicit drive specification, the current drive is changed to that drive. Otherwise the current drive remains the same. In either case, however, the current directory on whichever drive is changed to the directory given.
The current drive and directories in a child process started by the command interpreter are inherited from the command interpreter process with the value that they had at that particular time. Any use of the CDD command in the command interpreter after a child process has been started will not affect that process.
CD PUSHD POPD DIRSTACK