Title (command)

Command of command line interpreters


title: "Title (command)" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["microcomputer-software", "reactos-commands", "windows-administration"] description: "Command of command line interpreters" topic_path: "technology/operating-systems" source: "https://en.wikipedia.org/wiki/Title_(command)" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary Command of command line interpreters ::

::data[format=table title="Infobox software"]

FieldValue
nametitle
screenshotCommand Prompt on Windows 8.png
captionWindows Command Prompt displaying the default title
developerMicrosoft, JP Software, ReactOS Contributors
operating systemWindows, ReactOS
platformCross-platform
genreCommand
licenseWindows, TCC: Proprietary commercial software
ReactOS: GPL v2
::

| name = title | logo = | screenshot = Command Prompt on Windows 8.png | screenshot size = | caption = Windows Command Prompt displaying the default title | developer = Microsoft, JP Software, ReactOS Contributors | released = | latest release version = | latest release date = | operating system = Windows, ReactOS | platform = Cross-platform | genre = Command | license = Windows, TCC: Proprietary commercial software ReactOS: GPL v2 | website = In computing, title 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

::figure[src="https://upload.wikimedia.org/wikipedia/commons/a/a6/ReactOS-0.4.13_title_command_667x434.png" caption="Screenshot of the [[ReactOS]] console window after the title was changed to "Wikipedia" using the title command"] ::

In case of Microsoft Windows it is a shell builtin of the command-line interpreter [cmd.exe](cmd-exe). 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 title command is not available in the OS/2 version of cmd.exe. The default title of the OS/2 shell window is "OS/2 Window". It can be changed using the [start](start-command) command.

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

The command also is not available in the macOS Terminal. Instead, the [echo](echo-command) command can be used in combination with special escape sequences.

Within the GNU GRUB command processor title 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 [copy](copy-command) command is being executed. After the command is executed, the text "Files updated" is displayed using the [echo](echo-command) command, and the title of the Command Prompt window is changed back to "Command Prompt".

::code[lang=dosbatch] @echo off title Updating files copy \server\share*.txt c:\documents*.txt echo Files updated title Command Prompt ::

References

References

  1. "reactos/reactos".
  2. "BBC Computer Related Manuals".
  3. "Microsoft TechNet Title article".
  4. "MS-DOS and Windows command line title command".
  5. "Title - Windows CMD - SS64.com".
  6. Archiveddocs. (2018-03-23). "TITLE (Command Processor) (Windows Embedded CE 6.0)".
  7. "TITLE command - Change the window title".
  8. "How to change the Mac Terminal title from the command line | alvinalexander.com".
  9. [http://www.linuxselfhelp.com/gnu/grub/html_chapter/grub_12.html#SEC45] {{Webarchive. link. (2016-06-05)

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

microcomputer-softwarereactos-commandswindows-administration