Setting the Window Title

Posted: May 1, 2010 in Logon Script with Shell
Tags:


Windows 2000/XP/2003 supports the title command to change the title of a shell prompt window. The basic syntax of the title command is as follows:

Title name

Here, name is the name to give the current command-prompt window. Here is an example to change the shell prompt title to “Logon Script”:

If “%OS%”==”Windows_NT” Title Logon Script

Here, %OS% is an environment variable that indicates the operating system type.

Comments
  1. sanjay's avatar sanjay says:

    thnx for sharing ………….

Leave a comment