Example
C:\WINDOWS\system32
> _
Steps
- Right-click My Computer
- Properties
- Advanced system settings
- Environment Variables button
- New button under User variables for My User Name
- Variable name: PROMPT
- Variable value: $P$_$G$S
- OK
Where $P$_$G$S is
$p = Current drive and path
$_ = ENTER-LINEFEED
$g = > (greater-than sign)
$s = space
Note: Tested in Windows 7, Windows Server 2008, Windows XP.
References
Prompt
http://technet.microsoft.com/en-us/library/bb490977.aspx
No comments:
Post a Comment