Export (0) Print
Expand All
Arp
At
Cd
Cls
Cmd
Del
Dir
Fc
For
Ftp
If
Ldp
Lpq
Lpr
Md
Mmc
Msg
Nlb
Rcp
Rd
Reg
Rem
Ren
Rsh
Rsm
Rss
Sc
Set
Sfc
Ver
Vol
Expand Minimize

Title

Updated: April 17, 2012

Applies To: Windows 7, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP

Creates a title for the Command Prompt window.

For examples of how to use this command, see Examples.

title [<String>]

 

Parameter Description

<String>

Specifies the title of the Command Prompt window.

/?

Displays help at the command prompt.

  • To create window title for batch programs, include the title command at the beginning of a batch program.

  • After a window title is set, you can reset it only by using the title command.

In the following sample script, the title of the Command Prompt window is changed to "Updating Files" while the batch file executes the copy command. After the command is executed, the text Files Updated is displayed, and the title of the Command Prompt window is changed back to "Command Prompt."

@echo off
title Updating Files
copy \\server\share\*.xls c:\users\common\*.xls
echo Files Updated.
title Command Prompt

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft