Is there any command / tool to navigate previous directory in windows command prompt?
In linux usually use
cd -
for previous directory navigation.
|
Is there any command / tool to navigate previous directory in windows command prompt? In linux usually use
for previous directory navigation.
| |||
|
feedback
|
|
Save the following to eg.
Then always remember to use Alternatively, use a
The only caveat is if you omit the space between | |||||||||||||
feedback
|
|
You can use pushd and popd: C:\WINDOWS>pushd \ C:\>popd C:\WINDOWS> | |||||
feedback
|
|
If you want the exact behavior of bash, why not use bash? I have cygwin installed and it is very nice. It doesn't make you stick to its UNIX tools - it will happily call any windows executable. For
| |||
|
feedback
|
|
There's a freeware
| |||||||||
feedback
|
|
if you are running the batch file you can use
This will jump back to the original path from where the batch file was run | |||
|
feedback
|
|
You could do this using Windows Powershell http://en.wikipedia.org/wiki/Windows_PowerShell Here's how: http://windows-powershell-scripts.blogspot.com/2009/07/cd-change-to-previous-working-directory.html | |||
|
feedback
|
|
Perhaps this is what you are looking for. If you have:
and you want to go back to C:\, just type:
Result:
| ||||
|
feedback
|