User Tip #39: DOS Window Titles

Hits: Failed to execute CGI : Win32 Error Code = 3


If you are like my and like to work from the dark place, that is the command-shell, DOS windows, then you can get confused if you have several windows opened. Window#1 you are telneting, Window#1 ftping, Window#3 you are running admin scripts, ... You look at the task bar and they are all the same. But there is a Windows NT / Windows 2000 / Windows XP trick to keep them straight, use titles. In each DOS windows, at the command prompt, use the Title command. For example:

Title telnet unixbox1 for command-shell #1
Title ftp unixbox1 for command-shell #2
Title scripts domainX for command-shell #3
...
Now the DOS windows will have your titles and they will show on the taskbar also.






Windows scripting host is a different animal entirely to batchfile-like scripts. Much more powerful. Native scripting language for NT2000 but available for NT4. Start studying now. Includes builtin support for vbscript & jscript with addins available for perl and other scripting languages. Extraordinary powerful and subsequently it can be very complex.

Keywords: windows 2000 tip, w2k, xp, windows nt, dos windows, title, titles, dos window title, command-shell, command prompt