Title (command)

Short description: Command of command line interpreters

title

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: 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]

## Contents

* 1 Overview
* 2 Syntax
* 3 Example
* 4 See also
* 5 References
* 6 Further reading
* 7 External links

## Overview

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

title [<String>]

Arguments:

* `<String>` 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` 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

* Windows Console
* Linux console

## References

1. ↑ "reactos/reactos". https://github.com/reactos/reactos.
2. ↑ "BBC Computer Related Manuals". http://www.8bs.com/othrdnld/manuals/manuals.htm.
3. ↑ "Microsoft TechNet Title article". https://technet.microsoft.com/en-us/library/bb491017.aspx.
4. ↑ "MS-DOS and Windows command line title command". https://www.computerhope.com/titlehlp.htm.
5. ↑ "Title - Windows CMD - SS64.com". https://ss64.com/nt/title.html.
6. ↑ Archiveddocs (2018-03-23). "TITLE (Command Processor) (Windows Embedded CE 6.0)". https://docs.microsoft.com/en-us/previous-versions/windows/embedded/ee499398(v=winembedded.60).
7. ↑ "TITLE command - Change the window title". https://jpsoft.com/help/title.htm.
8. ↑ "How to change the Mac Terminal title from the command line | alvinalexander.com". http://alvinalexander.com/blog/post/mac-os-x/change-title-bar-of-mac-os-x-terminal-window/.
9. ↑ [1]

## Further reading

* 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.

## External links

* title | Microsoft Docs

* v
* t
* e

Windows command-line programs and shell builtins

* COMMAND.COM
* Command Prompt
* Windows PowerShell
* Recovery Console

File system navigation|

* cd (chdir)
* dir
* popd
* pushd
* tree

File management|

* attrib
* cacls
* cipher
* compact
* copy
* del (erase)
* deltree
* expand
* icacls
* makecab
* mkdir (md)
* mklink
* move
* recover
* ren (rename)
* replace
* rmdir (rd)
* robocopy
* tar
* xcopy

Disk management|

* chkdsk
* convert
* defrag
* diskcomp
* diskcopy
* diskpart
* drvspace
* fdisk
* format
* label
* manage-bde
* subst
* scandisk
* sys
* vol
* vssadmin

Processes|

* at
* exit
* kill
* powercfg
* runas
* sc
* schtasks
* shutdown
* start
* taskkill
* tasklist

Registry|

* assoc
* ftype
* reg
* regini
* regsvr32

User environment|

* date
* mode
* path
* set
* setx
* time
* title
* ver
* whoami

File contents|

* comp
* edit
* edlin
* fc
* find
* findstr
* print
* type

Scripting|

* choice
* clip
* cscript
* doskey
* echo
* for
* forfiles
* goto
* if
* more
* pause
* prompt
* rem
* timeout

Networking|

* arp
* BITSAdmin
* cURL
* getmac
* hostname
* ipconfig
* net
* netsh
* netstat
* nslookup
* PathPing
* ping
* route
* scp
* sftp
* ssh
* ssh-add
* ssh-agent
* ssh-keygen
* ssh-keyscan
* tracert
* winrm
* winrs

Maintenance and care|

* driverquery
* eventcreate
* eventtriggers
* msiexec
* ntbackup
* sfc
* systeminfo
* w32tm
* WBAdmin
* winsat
* wmic

Boot management|

* bcdedit
* bootcfg
* fixboot
* fixmbr

Software development|

* debug
* exe2bin
* QBasic

Miscellaneous|

* cls
* dism
* dpath
* gpupdate
* help
* MSCDEX
* pentnt
* wsl

* List of DOS commands
* Environment variables

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Title (command). Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Title_(command)&oldid=692859"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template