The Full Wiki

More info on Title (command)

Title (command): Wikis


Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.


(Redirected to title (command) article)

From Wikipedia, the free encyclopedia

Command Prompt displaying the default title.

In computing, title is a command that changes the title for the Microsoft Windows Command Prompt window. It is a shell builtin of the command line interpreter cmd.exe. The default title is defined in the %COMSPEC% environment variable.[1] However, since the Win32 console title can also be defined in the program shortcut, the title is usually set to "Command Prompt".



title [<String>]


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


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


External links



Got something to say? Make a comment.
Your name
Your email address