<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>brianReisman.ToBlog(); : Windows</title><link>http://blogs.msdn.com/brianreisman/archive/tags/Windows/default.aspx</link><description>Tags: Windows</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Customizing the Command Prompt</title><link>http://blogs.msdn.com/brianreisman/archive/2008/03/16/customizing-the-command-prompt.aspx</link><pubDate>Mon, 17 Mar 2008 01:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8273594</guid><dc:creator>brian.reisman</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/brianreisman/comments/8273594.aspx</comments><wfw:commentRss>http://blogs.msdn.com/brianreisman/commentrss.aspx?PostID=8273594</wfw:commentRss><description>&lt;DIV class=Hook&gt;Having a meaningful command prompt can be incredibly helpful when working on several machines, remote computers, and using different credentials. So I use the following command prompt on all of my machines... this allows me to easily know who and how I connected to a remote share when I'm using the command line interface (cli).&lt;/DIV&gt;
&lt;P&gt;&lt;A class="" href="http://brianreisman.com/files/media/image/WindowsLiveWriter/Prompt_C346/CustomCommandPrompt_2.jpg" mce_href="http://brianreisman.com/files/media/image/WindowsLiveWriter/Prompt_C346/CustomCommandPrompt_2.jpg"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; WIDTH: 561px; HEIGHT: 126px; BORDER-RIGHT-WIDTH: 0px" title="My Custom Command Prompt" border=0 alt="My Custom Command Prompt" src="http://brianreisman.com/files/media/image/WindowsLiveWriter/Prompt_C346/CustomCommandPrompt_2.jpg" width=561 height=126 mce_src="http://brianreisman.com/files/media/image/WindowsLiveWriter/Prompt_C346/CustomCommandPrompt_2.jpg"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;!--more--&gt;
&lt;DIV class=csharpcode&gt;&lt;PRE style="HEIGHT: 38px" class=alt&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;prompt&lt;BR&gt;%userdomain%\%username%$son$s%COMPUTERNAME%$s@$s$t$_[$p]$s$m$_$g$s&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;/DIV&gt;
&lt;P&gt;
&lt;STYLE type=text/css&gt;.csharpcode {
	FONT-SIZE: small; COLOR: black; FONT-FAMILY: consolas, "Courier New", courier, monospace; BACKGROUND-COLOR: #ffffff
}
.csharpcode PRE {
	FONT-SIZE: small; COLOR: black; FONT-FAMILY: consolas, "Courier New", courier, monospace; BACKGROUND-COLOR: #ffffff
}
.csharpcode PRE {
	MARGIN: 0em
}
.csharpcode .rem {
	COLOR: #008000
}
.csharpcode .kwrd {
	COLOR: #0000ff
}
.csharpcode .str {
	COLOR: #006080
}
.csharpcode .op {
	COLOR: #0000c0
}
.csharpcode .preproc {
	COLOR: #cc6633
}
.csharpcode .asp {
	BACKGROUND-COLOR: #ffff00
}
.csharpcode .html {
	COLOR: #800000
}
.csharpcode .attr {
	COLOR: #ff0000
}
.csharpcode .alt {
	MARGIN: 0em; WIDTH: 100%; BACKGROUND-COLOR: #f4f4f4
}
.csharpcode .lnum {
	COLOR: #606060
}
&lt;/STYLE&gt;
&lt;/P&gt;
&lt;P&gt;You can create your own using the syntax defined &lt;A href="http://technet2.microsoft.com/windowsserver2008/en/library/3d98e965-02eb-46ad-9d0a-5dc44830373e1033.mspx?mfr=true" target=_blank&gt;here&lt;/A&gt; and make it always the use your prompt be defining an &lt;EM&gt;autorun&lt;/EM&gt; command or script for your command prompt for any user who uses this computer or for the current user only by replacing HKEY_LOCAL_MACHINE with HKEY_CURRENT_USER:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;PRE class=csharpcode&gt;Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]
&lt;SPAN class=str&gt;"AutoRun"&lt;/SPAN&gt;=&lt;SPAN class=str&gt;"prompt %userdomain%\\%username%$son$s%COMPUTERNAME%$s@$s$t$_[$p]$s$m$_$g$s"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;
&lt;STYLE type=text/css&gt;.csharpcode {
	FONT-SIZE: small; COLOR: black; FONT-FAMILY: consolas, "Courier New", courier, monospace; BACKGROUND-COLOR: #ffffff
}
.csharpcode PRE {
	FONT-SIZE: small; COLOR: black; FONT-FAMILY: consolas, "Courier New", courier, monospace; BACKGROUND-COLOR: #ffffff
}
.csharpcode PRE {
	MARGIN: 0em
}
.csharpcode .rem {
	COLOR: #008000
}
.csharpcode .kwrd {
	COLOR: #0000ff
}
.csharpcode .str {
	COLOR: #006080
}
.csharpcode .op {
	COLOR: #0000c0
}
.csharpcode .preproc {
	COLOR: #cc6633
}
.csharpcode .asp {
	BACKGROUND-COLOR: #ffff00
}
.csharpcode .html {
	COLOR: #800000
}
.csharpcode .attr {
	COLOR: #ff0000
}
.csharpcode .alt {
	MARGIN: 0em; WIDTH: 100%; BACKGROUND-COLOR: #f4f4f4
}
.csharpcode .lnum {
	COLOR: #606060
}
&lt;/STYLE&gt;
You can save the text above into a text file and save it with the .reg extension and then you can apply it by double clicking on the file.&lt;/P&gt;
&lt;DIV style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; DISPLAY: inline" id=scid:0767317B-992E-4b12-91E0-4F059A8CECA8:4c61c2f8-873a-4a84-b14d-aa3542ffe98d class=wlWriterEditableSmartContent&gt;del.icio.us Tags: &lt;A href="http://del.icio.us/popular/Windows" rel=tag&gt;Windows&lt;/A&gt;,&lt;A href="http://del.icio.us/popular/cmd" rel=tag&gt;cmd&lt;/A&gt;,&lt;A href="http://del.icio.us/popular/command%20prompt" rel=tag&gt;command prompt&lt;/A&gt;&amp;nbsp;| &lt;/DIV&gt;
&lt;DIV style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; DISPLAY: inline" id=scid:0767317B-992E-4b12-91E0-4F059A8CECA8:72c2bee5-d6c5-4c60-b557-94e261ebdcd1 class=wlWriterEditableSmartContent&gt;Technorati Tags: &lt;A href="http://technorati.com/tags/Windows" rel=tag&gt;Windows&lt;/A&gt;,&lt;A href="http://technorati.com/tags/cmd" rel=tag&gt;cmd&lt;/A&gt;,&lt;A href="http://technorati.com/tags/command%20prompt" rel=tag&gt;command prompt&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV class=CrossPost&gt;Cross Posted from &lt;A href="http://brianreisman.com/"&gt;http://brianreisman.com/&lt;/A&gt; &lt;A href="http://brianreisman.com/utilities/shell-enhancements/customizing-the-command-prompt/" mce_href="http://brianreisman.com/utilities/shell-enhancements/customizing-the-command-prompt/"&gt;&lt;IMG style="VERTICAL-ALIGN: text-top" border=0 src="http://www.blogblog.com/rounders2/icon_arrow.gif" mce_src="http://www.blogblog.com/rounders2/icon_arrow.gif"&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8273594" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/brianreisman/archive/tags/cmd/default.aspx">cmd</category><category domain="http://blogs.msdn.com/brianreisman/archive/tags/Shell/default.aspx">Shell</category><category domain="http://blogs.msdn.com/brianreisman/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.msdn.com/brianreisman/archive/tags/command+prompt/default.aspx">command prompt</category></item></channel></rss>