Type prompt /? in a command prompt window and hit Enter.
Prompt HELP
Paste the following line into Start | Run and click OK...
hh ntcmds.chm::/prompt.htm
[[This setting allows you to change the format of the command prompt to show
additional information instead of just the current drive and path ("C:\>").
To do so, go to Start/Run/Regedit and navigate to this key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment. In the right pane, double click the REG_EXPAND_SZ
string named PROMPT and modify the Value data accordingly:
Special Codes
$A - & (Ampersand)
$B - | (pipe)
$C - ( (Left parenthesis)
$D - Current date
$E - Escape code (ASCII code 27)
$F - ) (Right parenthesis)
$G - > (greater-than sign)
$H - Backspace (erases previous character)
$L - < (less-than sign)
$N - Current drive
$P - Current drive and path
$Q - = (equal sign)
$S - (space)
$T - Current time
$V - Windows XP version number
$_ - Carriage return and linefeed
$$ - $ (dollar sign)
Variables
%USERNAME% - Current Username
%COMPUTERNAME% - Local computer name
%USERDOMAIN% - Local domain name
The default prompt is "$P$G" (e.g. "C:\>"), some alternatives include:
[%computername%]$S$P$G to show the computer, drive and path
[%username%]$S$P$G to show the current user, drive and path
Restart or log-off Windows for the change to take effect. ]]]
from...
http://www.kellys-korner-xp.com/xp_c.htm
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In