Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page





Microsoft DOS pushd command

Quick links

About pushd
Availability
Syntax
Examples

About pushd

Stores a directory or network path in memory so it can be returned to at any time.

 

Availability

The pushd command is an internal command that is available in the below Microsoft operating systems.

Windows 2000
Windows XP

Index

Category:
MS-DOS

Companies:
Microsoft

Related Pages:
Operating systems

Resolved

Were you able to locate the answer to your questions?

Syntax

Stores the current directory for use by the POPD command, then changes to the specified directory.

PUSHD [path | ..]

path specifies the directory to make the current directory.

If Command Extensions are enabled the PUSHD command accepts network paths in addition to the normal drive letter and path. If a network path is specified, PUSHD will create a temporary drive letter that points to that specified network resource and then change the current drive and directory, using the newly defined drive letter. Temporary drive letters are allocated from Z: on down, using the first unused drive letter found.

Examples

pushd ..

If this command was typed when you were at C:\Windows\System32 directory, for example, this directory would be stored. If you then wanted to return back to this directory you would use the POPD command.

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope