Use pushd to help you get back

Lets say your current directory is
C:gamesSteamCounter-Strike>

and you want to get back here. Use the pushd DOS command.

pushd .

that is push the current UNC, machine, drive and directory onto the stack. Yes the “.” is understood as the current location. Then change drives, directories as much as you wish and when you get ready to come back, don’t try to remember the location or if you can’t, don’t type in that ugly path. Use the popd DOS command to get back. Type

popd

the Windows NT / Windows 2000 / Windows XP DOS emulator will bring you back to

C:gamesSteamCounter-Strike>

One Response to Use pushd to help you get back

  1. remove dat from my msn

Leave a Reply to dimn Cancel reply

Your email address will not be published. Required fields are marked *