I don't know exactly how I'm supposed to be able to control the text that appears in the titlebar of a Command prompt window in Windows 2000 and Windows XP, but I've figured out something that kind of sort of works. Just follow these steps:
- Click the Start button.
- Select Run.
- Type "cmd", then hit [Enter].
- Move to the directory you want to work in. For instance, I want to work in a Tomcat bin directory, so I type "
- Here's the magic. Type this:
- You'll see that this opens a new command prompt window, with the titlebar showing "TOMCAT".
- Close the command window you used to start the new window, or do something else from there.
I know this may not sound like a big deal to you, but here's my situation. I've got three windows open, one for Tomcat, one for my Ant build process, and a third one for SCP copies that I make to another server. I want to be able to quickly and easily see which command window is which while I'm doing things like [Alt][Tab] or looking at the Windows taskbar, and this makes it as easy as possible to know which window to switch to.