Title (command)

In computing,   is a command in various command-line interpreters (shells) on Microsoft Windows and ReactOS that changes the title for the graphical terminal emulator window. The command is also used within DFS and ADFS to change the title of the disc in the current drive.

Overview
In case of Microsoft Windows it is a shell builtin of the command-line interpreter. The command is available in Windows 2000 and later. It is compatible with Windows Console and Windows Terminal.

The default window title is defined in the %COMSPEC% environment variable. However, since the Windows Console title can also be defined in the program shortcut, the title is usually set to "Command Prompt".

The command is also available in the Command Processor Shell of Windows Embedded CE and in the Take Command Console.

Although the OS/2 command shell is closely related to the Windows Command Prompt, the  command is not available in the OS/2 version of. The default title of the OS/2 shell window is "OS/2 Window". It can be changed using the  command.

The ReactOS Command Prompt also includes the  command to set the window title for the command prompt window.

The command also is not available in the macOS Terminal. Instead, the  command can be used in combination with special escape sequences.

Within the GNU GRUB command processor  is one of several menu-specific commands. It is used to start a new boot entry.

Syntax
title []

Arguments:
 *   Specifies the title of the Command Prompt window.

Example
The following batch file changes the title of the Command Prompt window to "Updating files" while the  command is being executed. After the command is executed, the text "Files updated" is displayed using the  command, and the title of the Command Prompt window is changed back to "Command Prompt".