NT Syntax

POPD

Change directory back to the path/folder most recently stored by the PUSHD command.
POPD will also remove any temporary drive maps created by PUSHD

syntax
      POPD 

For example

   c:\Program Files> PUSHD c:\utils
   c:\utils> PUSHD c:\WINNT
   c:\Winnt> 
   c:\Winnt> POPD
   c:\utils> 
   c:\utils> POPD
   c:\Program Files>

If Command Extensions are disabled PUSHD and POPD will not create temporary drive letters.

"It's amazing how low you go to get high" - John Lennon

Related Commands

PUSHD - Change the current directory/folder and store the previous folder/path
CD - Change Directory, select a Folder (and drive)

Equivalent Linux BASH commands:

export
- Set an environment variable



Simon Sheppard
SS64.com