I do not think that it is interesting to everyone and everyone, just a curious detail.
Surely you more than once and not two used CMD. I am more than sure that you paid attention to the console window's lack of a formality. This is especially striking when you switch to Vista - in it the window title uses the current theme. What is the matter?
Ok, go to the MS site -
http://support.microsoft.com/kb/306509 . If someone does not dare to click on the links containing microsoft.com, I cite the text from the support page with its own translation:
"The command line window runs under the Client Server Runtime System, which cannot be framed .
"Frankly speaking, it is becoming ever clearer. Straight is so clear that I could not resist and began to look further. It quickly became clear that I was not the only one so clever and the question was already popping up on
Raymond Chen’s blog . By the way, an interesting and famous comrade, generally interesting writing.
Chen writes that CSRSS is critical. Knock - it may collapse, and with it you can drag off the whole system. That is, it is clear that the extra frills it to anything. The CSRSS development team decided that they did not want to risk, allowing the manager to execute their code under their process. On the other hand, the architecture itself does not allow the command line to be configured - CSRSS works as a separate subsystem and the layout manager simply cannot access it.
')
So what about Vista? And in Vista, Chen writes, CSRSS is not framed. Framed window frame, but not the console. Take a closer look - the scroll bar is still made in a classic style.
The frame is painted by the window manager and, due to his own fault, we can no longer drag files into the console window. For security reasons, in Vista we cannot transfer messages from one service to another, higher level. CSRSS is run with a very high level of security and does not allow a random process (such as Explorer) to transmit its messages, which are used for drag and drop.