Friday, March 16, 2012

Some shortcuts

In cmd prompt u might have faced this issue many times. 1. You "cd" to a folder location. 2. Now you have to go to a folder location in different volume. 3. You "cd" to it. 4. Now, you have to go back to the previous folder. If I have to deal with these situations, I prefer using multiple cmd prompts. But that may turn out to be a hassle. This trick may help you out in those situations. >pushd . //pushes the current directory location into a stack. >popd //takes you back to that folder that is on the top of the stack Hope this helps. :)

No comments:

Post a Comment