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.

Advertisement
Comments
  1. sanjay says:

    thnx for sharing ………….

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s