PUSHD — Save the current drive and directory and change to new ones

Synopsis

PUSHD [/?] [Pathname]

Options

/?
Display command syntax information.

Description

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


The 32-bit Command Interpreter is © Copyright Jonathan de Boyne Pollard. "Moral" rights are asserted.