in

Drowning In Technical Debt

C# | ASP.NET | SharePoint | SQL | Architecture | SOA |

Scott Roycraft

Red meat is NOT bad for you. Now blue-green meat, THAT'S bad for you! ~ Tommy Smothers

A Better Command Prompt Format For Long Path Names

Have you ever opened up a command prompt and navigated to a deeply nested folder to find you could only type a few letters of the command before it word wrapped?

With a simple environment setting you can reformat the command prompt to display the full path and automatically move the cursor to next line thus giving you more room to enter your command.

Right mouse click on your My Computer and then take the Properties menu item and open the Advanced tab. Click the Environment Variables button and add a new variable:

     Variable: PROMPT
     Value: $p$_$+$g

You can also set colors, display UNC names and many other display settings. I was pleased to find my old DOS prompt settings still worked!

Published Apr 25 2007, 11:08 PM by sroycraft
Filed under:

Comments

No Comments
Powered by Community Server (Commercial Edition), by Telligent Systems