User Tip #42: Use pushd to help you get back |
Hits: Failed to execute CGI : Win32 Error Code = 3
|
F:\Documents and Settings\wayne\Local Settings>
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
F:\Documents and Settings\wayne\Local Settings>
If you work at the commandline, you will like it. If you have a unix background, you will recognize some of the things you can do with pushd and popd. Try it!
covers analysis, tuning, optimization, automation, enhancement, maintenance, and troubleshooting of Windows
Keywords: windows 2000 tip, windows nt, windows xp, pushd, popd, directory, commandline, DOS, batch, command, commands