?Hi, John.
I noticed, several Windows versions ago, that there are multiple Properties
screens for the Command Prompt window (as there are for other apps and
utilities).
If I right-click on the Command Prompt icon I've pinned to my Taskbar, then
right-click again and choose Properties, I get a screen with 11 tabs. If I
right-click on the Title Bar of an open Command Prompt window and choose
Properties, I get a screen with just 4 tabs. From cmd.exe in a Search
window, I get a screen with 5 tabs. There may be other variations, but I'm
too lazy to check out all of them now.
My favorite is Prompt $p$g, which I think is the default, ever since the
real MS-DOS (and TRSDOS before it).
Maybe the OP will come back and explain what he wants so that we don't have
to just talk among ourselves.
RC
--
R. C. White, CPA
San Marcos, TX
(e-mail address removed)
Microsoft Windows MVP
Windows Live Mail Version 2011 (Build 15.4.3002.0810)) in Win7 Ultimate x64
SP1 beta
"johnbee" wrote in message
Gene E. Bloch said:
Actually I think you will find that the correct terminology is 'Command
Prompt' in 'Command mode'. Also, I think you will find that your comment
has nothing to do with his actual question - merely the phrasing of it.
As
I have mentioned before on this newsgroup, it is best to be a little
cautious in assuming superiority over a guy who uses command mode.
He was talking about changing the prompt in the command window, and the
command is indeed "prompt", e.g., in my case, PROMPT=[$n:]$s
The problem is that to make it work every time you start a window you
need to put it somewhere special, like in a batch file that you set up
to start with the command window.
Unfortunately, I have forgotten the drill and can't find it at the
moment, and I'm going out to lunch soon (no jokes, please...OK, joke if
you want).
I know what he was talking about and it was nothing to do with what the man
asked.
I will add a comment: I don't think that the properties of the command
window which can be set to be in effect automatically or just for the moment
include the prompt, but I don't know why. Except of course that regular
command prompt users are not the types who would care much.
Properties for the command window are set by right clicking it's title bar
and then choosing either default or properties respectively, which is what
I told the chap. Not the most intuitively obvious thing about Windows and
also difficult to guess or stumble across. I always have, and have had, $P
which is the default provided anyway, I reckon since the year dot.