The popd command changes to the directory or network path stored by the pushd command.

Availability

Popd command is an internal command that is available in the following Microsoft operating systems.

  • Availability

  • Popd syntax

  • Popd examples

  • Windows 2000

  • Windows XP

  • Windows Vista

  • Windows 7

  • Windows 8

  • Windows 10

  • Windows 11

Popd syntax

Changes to the directory stored by the pushd command.

POPD

If Command Extensions are enabled, the POPD command deletes any temporary drive letter created by PUSHD when you POPD that drive off the pushed directory stack.

Popd examples

popd

  • Pushd command help and information.
  • See our pop definition for a full list of related terms and links.