- Press [Windows][Break] to open the System Properties dialog box.
- On the Advanced tab, click the Environment Variables button.
- In the System Variables section, click the New button.
- Enter PROMPT in the Variable Name text box.
- Enter $m$p$g in the Variable Value text box.
- Click OK three times to close all open dialog boxes.
Wednesday, August 25, 2004
Add UNC information to the command prompt
From the TechRepublic Windows XP Tips newsletter. If you’re like most system administrators, you more than likely prefer to perform common tasks using Windows XP’s vast array of command-line tools. If so, here’s another trick to add to your toolbox. Did you know that you can configure the command prompt to display the full UNC of a mapped drive letter? The ability to tell at a glance which server a particular driver letter maps to can save you both time and frustration when working at the command line. All you have to do is add a special character to the Prompt command. Follow these steps: