The PUSHD command saves the current drive and directory on a directory stack maintained by the command interpreter, and changes to the given drive and directory, if specified.
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 directory stack has a limit of 50 entries. Attempting to push more than 50 drive/directory pairs onto the stack will cause subsequent PUSHD commands to fail.
CD CDD POPD DIRSTACK