Command Prompt for Windows




Command PUSHD

Function:

Push the current directory onto the directory stack and change to the specified directory.

Syntax:

PUSHD [[drive:]directory]
directorySpecifies the directory to change to.

Note:

When no parameters are specified then the current directory is pushed onto the stack only.

Also see command POPD, DIRS and Batch Files.