![]() Windows Command Prompt displaying the default title | |
Developer(s) | Microsoft,JP Software, ReactOS Contributors |
---|---|
Operating system | Windows,ReactOS |
Platform | Cross-platform |
Type | Command |
License | Windows, TCC:Proprietarycommercial software ReactOS:GPL v2 |
Incomputing,title
is acommand in variouscommand-line interpreters (shells) onMicrosoft Windows andReactOS[1] that changes the title for the graphicalterminal emulator window. The command is also used withinDFS andADFS to change the title of the disc in the currentdrive.[2]
title
commandIn case of Microsoft Windows it is ashell builtin of the command-line interpretercmd.exe
.[3] The command is available inWindows 2000 and later.[4]It is compatible withWindows Console andWindows Terminal.
The default window title is defined in the%COMSPEC%environment variable.[5] However, since theWindows Console title can also be defined in the programshortcut, the title is usually set to "Command Prompt".
The command is also available in the Command Processor Shell ofWindows Embedded CE[6] and in theTake Command Console.[7]
Although theOS/2 command shell is closely related to the Windows Command Prompt, thetitle
command is not available in the OS/2 version ofcmd.exe
. The default title of the OS/2 shell window is "OS/2 Window". It can be changed using thestart
command.
TheReactOS Command Prompt also includes thetitle
command to set thewindow title for the command prompt window.
The command also is not available in themacOSTerminal. Instead, theecho
command can be used in combination with specialescape sequences.[8]
Within theGNU GRUB command processortitle
is one of several menu-specific commands. It is used to start a newboot entry.[9]
title [<String>]
Arguments:
<String>
Specifies the title of the Command Prompt window.The followingbatch file changes the title of the Command Prompt window to "Updating files" while thecopy
command is being executed. After the command is executed, the text "Files updated" is displayed using theecho
command, and the title of the Command Prompt window is changed back to "Command Prompt".
@echo offtitle Updating filescopy \\server\share\*.txt c:\documents\*.txtecho Files updatedtitle Command Prompt