Archive for the ‘Logon Script with Shell’ Category

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.

Shell scripting is the original source of logon scripting for Windows. Although it may lack some of the more complex features of other scripting languages, its main advantage is compatibility. Unlike KiXtart or Windows Script Host, shell scripting does not require any installed client files to run (other than the operating system). Shell scripting provides a simple, logon script solution for quick and easy deployment.