POPD

(from Pop Directory or Pop Drive)

Switches to the directory saved with the PUSHD command or delete the drive letters created with the PUSHD command (see PUSHDPUSHD).

POPD [drive:]

Where:

  • drive: - Specifies the drive letter created with PUSHD to delete (followed by a colon :).

Without specifying parameters, switches to the directory stored with PUSHD.

Examples:

1. Switch to the saved directory with PUSHD:

popd

 

2. Delete the drive letter S: created with PUSHD:

popd s:

Comments