Add UNC Information To The Command Prompt In XP
Posted on Saturday, September 19, 2009
Filed under
Info,
Security,
System,
Windows
Here’s a trick for configuring the command prompt to display the full UNC of a mapped drive letter.
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.
Here's how:
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.
Here's how:
- 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.
Now, when you open a command prompt and access a mapped drive letter, you'll see the UNC path in the prompt.
Comments
Archives
-
▼
2009
(57)
-
▼
September
(30)
- Sparkle
- Glassie
- 'No to all' when copying files in Windows XP?
- Add UNC Information To The Command Prompt In XP
- Where Does Internet Explorer Store Passwords?
- Keyboard Shortcuts in Windows
- Keyboard Shortcuts in Word
- Keyboard Shortcuts in Excel
- Do You Know How Much Radiation Your Cellphone Emits?
- Actor Patrick Swayze dies from cancer
- Kanye grabs microphone from Taylor Swift
- Cadbury rejects Kraft's business model
- New HIV-fighting antibodies found
- Ok... first thing first... every link which lead y...
- Nokia to Use Linux-based Operating System to Beat ...
- Ubuntu 9.10 vs. Mac OS X Snow Leopard vs. Windows 7
- Researcher Says Dogs Are as Smart as a 2-year-old
- Vascular Disease Patients Face Recurring Heart Att...
- Moderate Drinkers are Healthier
- Windows True Hidden Files
- How To Get Top Ranking, Search Engines
- XP single sign-on applications fail on Windows 7
- Can Ubuntu 9.10 Outperform Mac OS X 10.6?
- Slackware goes 64-bit
- Linux in 2013: One *Billion* Dollars!
- 250+ Tech books online
- Data Capacity of CDs
- Windows XP Tips and Tricks
- 23 Ways To Speed WinXP, Not only Defrag
- Bandwidth Explained!
-
▼
September
(30)
Leave a Reply