For faster navigation, this Iframe is preloading the Wikiwand page for title (command).

title (command)

title
Developer(s)Microsoft, JP Software, ReactOS Contributors
Operating systemWindows, ReactOS
PlatformCross-platform
TypeCommand
LicenseWindows, TCC: Proprietary commercial software
ReactOS: GPL v2

In computing, title is a command in various command-line interpreters (shells) on Microsoft Windows and ReactOS[1] 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.[2]

Overview

[edit]
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.[3] The command is available in Windows 2000 and later.[4] It is compatible with Windows Console and Windows Terminal.

The default window title is defined in the %COMSPEC% environment variable.[5] 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[6] and in the Take Command Console.[7]

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 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 command can be used in combination with special escape sequences.[8]

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

Syntax

[edit]
title [<String>]

Arguments:

  • <String> Specifies the title of the Command Prompt window.

Example

[edit]

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

@echo off
title Updating files
copy \\server\share\*.txt c:\documents\*.txt
echo Files updated
title Command Prompt

See also

[edit]

References

[edit]
  1. ^ "reactos/reactos". GitHub.
  2. ^ "BBC Computer Related Manuals". www.8bs.com.
  3. ^ "Microsoft TechNet Title article".
  4. ^ "MS-DOS and Windows command line title command". www.computerhope.com.
  5. ^ "Title - Windows CMD - SS64.com". ss64.com.
  6. ^ Archiveddocs (2018-03-23). "TITLE (Command Processor) (Windows Embedded CE 6.0)". Microsoft Docs. Retrieved 2020-09-20.
  7. ^ "TITLE command - Change the window title". jpsoft.com.
  8. ^ "How to change the Mac Terminal title from the command line | alvinalexander.com". alvinalexander.com.
  9. ^ [1] Archived 2016-06-05 at the Wayback Machine

Further reading

[edit]
  • Stanek, William R. Microsoft Windows Command-Line Administrator's Pocket Consultant. ISBN 0-735-62038-5.
  • John Paul Mueller (2007). Windows Administration at the Command Line for Windows Vista, Windows 2003, Windows XP, and Windows 2000. John Wiley & Sons. ISBN 978-0470165799.
[edit]
{{bottomLinkPreText}} {{bottomLinkText}}
title (command)
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?