Got something to add? Post a comment!
Everyone is invited to submit comments. Registered
users also receive their own visitor profile page with a summary of
recent posts.
Register | Login

SUMMARY: Windows 2000: Saving and retrieving the current directory names through the DOS CMD window.
Windows 2000's DOS lets you temporarily store the name of the current directory that you are in, letting you recall the directory name later after you are doing other processing. This may be useful if you are jumping around DOS directories a lot, either manually or through a batch file.
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
Everyone is invited to submit comments. Registered
users also receive their own visitor profile page with a summary of
recent posts.
Register | Login
Get E-Mail When New Tips are Online
Return to the Windows 2000 and DOS page.
New in MalekTips: