Welcome to MSDN Blogs Sign in | Join | Help

Working with CMD and Long Path Names

I like using the command prompt for a lot of things and working with long (or very long) path names is something that is common these days.

Fortunately, you can customize cmd by using "prompt". Do a “prompt /?” in a command window  to see all the options.

I like it simple and I use: “PROMPT=$p$_$+$g”. This gives:

 

C:\Windows\System32\Msdtc\Trace

> 

 

To persist it, set it as an environment variable.

Published Tuesday, May 06, 2008 12:54 PM by florinlazar
Filed under:

Comments

Anonymous comments are disabled
 
Page view tracker