| By default, the Windows 2000 prompt displays the drive level and current directory (e.g., |
| c:\windows>). If you spend a lot of time in the command prompt, you'd probably like to customize it |
| a bit. To customize this prompt, type prompt /? in the command prompt to get all supported options. |
| You can change the prompt by typing prompt text and replacing text with special codes. The default |
| value is prompt $p$g, but you can change it to almost anything you like, such as $m. This code |
| displays the server and share name for a mapped drive. For instance, if you use prompt $m$p$g and |
| your d: is a mapped drive from \\server\shared_folder, you'll get \\server\shared_folder d:'> as your |
| If you want to make your command prompt changes permanent, right-click My Computer and |
| select Properties. Go to the Advanced tab and click Environment Variables. Under User Variables, |
| click New to make this setting applicable only to you. If you want this setting to apply to all users, |
| click New under System Variables. In the dialog box, type the prompt for the variable name and |
| $m$p$g for the value. Click OK and close all dialog boxes. |
First Previous Next Last |