Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Title

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Title

Creates a title for the command prompt window.

Syntax

title [String]

Parameters
String
Specifies the title for the command prompt window.

/?
Displays help at the command prompt.

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

  • Once set, the window title can be reset with the title command only.

Examples

To set the window title for a batch program, type:

rem This batch program updates the employee data:
cls
@echo off
title Updating Files
copy \\server\share\*.xls c:\users\common\*.xls
echo Files Updated.
title Command Prompt

Formatting legend

 

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.