Save the Current Directory Name |
In Category: MSDos
From the Windows 2000 DOS CMD prompt, to store the name of the current directory, or rather, to PUSH the name of the current directory onto the stack, enter the PUSHD command followed by the name of a directory that you would like to access next. For example, if you are in the \"C:\\Program Files\" directory and want to push that directory name onto the stack, jumping to the C:\\WINNT\" directory, enter: PUSHD C:\\WINNT After you are done working in the \"C:\\WINNT\" directory and ready to go back to the \"C:\\Program Files\" directory, don\'t type in \"CD C:\\Program Files\", just POP the old directory from the stack by entering: POPD |
|
|
|
|