Quincy Center for Technical Education
Computer Technology Department

Pushd

Stores the name of the current directory for use by the popd command, then changes to the specified directory.

pushd [path]

Parameter

path

Specifies the directory to make the current directory. This command supports relative paths. If command extensions are enabled (the default in Windows 2000), the pushd command accepts either a network path or a local drive letter and path.

When a network path is specified, pushd creates a temporary drive letter for the specified network resource and then changes the current drive and directory to the specified directory on the newly defined drive. Temporary drive letters are allocated using the first unused drive letter found. When you use the popd command, it deletes any temporary drive letter created by pushd.