Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to change the title bar text of a command prompt from within a batch script?

1 view
Skip to first unread message

Dennis Halver

unread,
Jan 8, 2009, 3:16:22 PM1/8/09
to
When I start a new command prompt then in the title bar always appears:

"C:WINDOWS\system32.\cmd.exe"

Is there a way to change this title from within a DOS batch script?

Dennis

Zaphod Beeblebrox

unread,
Jan 9, 2009, 8:11:59 AM1/9/09
to

"Zaphod Beeblebrox" <Zaphod.Ariszt...@gmail.com> wrote in
message news:gk7hr2$q0h$1...@news.motzarella.org...
>
> "Dennis Halver" <ha...@persrec.com> wrote in message
> news:49665f15$0$31333$9b4e...@newsspool4.arcor-online.net...
> I can't believe no one has yet replied to this, but use the TITLE
> command.
>

OK, I see what's up, the original post was crossposted to 3 groups but
followups set to alt.msdos.batch.nt only.

Not sure what the correct nettiquite for this is, but ISTM that an
un-announced followup to a single group isn't a good approach. Had I
not also been subscribed to the one group that the followup pointed to,
I'd never have seen the rest of the conversation (and eventually
wondered where my post went and replied again, or not, and decidede that
the great bit bucket had absorbed it).

IMO, if one feels that a post is appropriate for a number of groups so
that one crossposts to all them, it is appropriate to allow the
following replies to go to the same set of groups. If one still
believes it is appropriate to set a followup to restrict where the
replies are sent, then announcing that in the post seems to be a minimal
courtesy.

--
Zaphod

No matter where you go, there you are!


Richard Bonner

unread,
Jan 10, 2009, 6:40:34 AM1/10/09
to

> "C:WINDOWS\system32.\cmd.exe"

> Dennis

*** I don't remember the details, but look into "PROMPT" and
"WINPROMPT". As I recall, there is a properties box for the command window
that allows one to set it to whatever one wants.

Richard Bonner
http://www.chebucto.ca/~ak621/DOS/

Frank Slootweg

unread,
Jan 10, 2009, 11:32:35 AM1/10/09
to

*How* do you start "a new command prompt"?

If you start it from the Desktop or from the Start menu, then
right-click the 'shortcut' which you use to start the new command
prompt, then -> Rename -> change the 'name' (normally "Command Prompt")
to what you want.

0 new messages