Home NT Commands
NT Syntax

TITLE

Change the title displayed above the CMD window.

syntax 
      TITLE [string]

key
   string : The title for the command prompt window.


The default title is %comspec%

To change the title for the duration of a command use:

  TITLE This is the initial title text
  CMD /c MyBatchFile.cmd
  ...

If MyBatchFile.cmd contains a different TITLE command it will revert when the second command session ends.

"The longer the title, the less important the job." - George McGovern.

Related commands:

MODE - change the size of the CMD window
COLOR - change the colour of the CMD window
PROMPT - change the CMD window prompt
QuickEdit mode - also changes the title (temporarily)

Equivalent Linux BASH commands:

none



Simon Sheppard
SS64.com