Change Prompt to Short Path

Posted on

QUESTION :

If I am in command prompt (Windows 7), and I am in a directory with a very long name (ex: C:UsersOorangDocumentsVisual Studio 2010ProjectsMy ProjectMy ProjectbinRelease), is there a way to quickly reduce the prompt to the short path without typing the whole thing in all over again (Ex: C:UsersOorangDOCUME~1VISUAL~1ProjectsDATAST~2DATAST~1binRelease)?

ANSWER :

Maybe try the pushd and popd commands.

Leave a Reply

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