POPD - Restore the disk drive and directory
Purpose: Return to the disk drive and directory at the top of the
directory stack..
Format: POPD [*]
See also: DIRS, PUSHD, and Directory Navigation.
Usage
Each time you use the PUSHD command, it saves the current disk drive and
directory on the internal directory stack. POPD restores the last drive
and directory that was saved with PUSHD and removes that entry from the
stack. You can use these commands together to change directories,
perform some work, and return to the starting drive and directory.
Directory changes made with POPD are recorded in the directory history
list and can be displayed in the directory history window. See Directory
Navigation for complete details on this and other directory navigation
features.
This example saves and changes the current disk drive and directory with
PUSHD, and then restores it. The current directory is shown in the
prompt:
[c:\] pushd d:\database\test
[d:\database\test] pushd c:\wordp\memos
[c:\wordp\memos] pushd a:\123
[a:\123] popd
[c:\wordp\memos] popd
[d:\database\test] popd
[c:\]
You can use the DIRS command to see the complete list of saved drives and
directories (the directory stack).
The POPD command followed by an asterisk [*] clears the directory stack
without changing the current drive and directory.
If the directory on the top of the stack is not on the current drive,
POPD will switch to the drive and directory on the top of the stack
without changing the default directory on the current drive.
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs