|
POPD
Restores the previous value of the current directory saved
by PUSHD.
Syntax
POPD
When command extensions are enabled, the popd command
removes any drive-letter assignations created by pushd.
Every time you use the pushd command, a single directory is
stored for your use. However, you can store multiple
directories by using the pushd command multiple times.
Examples
@echo off
rem This batch file deletes all .doc files in a specified directory
pushd %1
del *.doc
popd
cls
echo All text files deleted in the %1 directory
Cmd Commands
|