Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

title (command)

From Wikipedia, the free encyclopedia
Command of command line interpreters
title
Windows Command Prompt displaying the default title
Developer(s)Microsoft,JP Software, ReactOS Contributors
Operating systemWindows,ReactOS
PlatformCross-platform
TypeCommand
LicenseWindows, TCC:Proprietarycommercial software
ReactOS:GPL v2

Incomputing,title is acommand in variouscommand-line interpreters (shells) onMicrosoft Windows andReactOS[1] that changes the title for the graphicalterminal emulator window. The command is also used withinDFS andADFS to change the title of the disc in the currentdrive.[2]

Overview

[edit]
Screenshot of theReactOS console window after the title was changed to "Wikipedia" using thetitle command

In case of Microsoft Windows it is ashell builtin of the command-line interpretercmd.exe.[3] The command is available inWindows 2000 and later.[4]It is compatible withWindows Console andWindows Terminal.

The default window title is defined in the%COMSPEC%environment variable.[5] However, since theWindows Console title can also be defined in the programshortcut, the title is usually set to "Command Prompt".

The command is also available in the Command Processor Shell ofWindows Embedded CE[6] and in theTake Command Console.[7]

Although theOS/2 command shell is closely related to the Windows Command Prompt, thetitle command is not available in the OS/2 version ofcmd.exe. The default title of the OS/2 shell window is "OS/2 Window". It can be changed using thestart command.

TheReactOS Command Prompt also includes thetitle command to set thewindow title for the command prompt window.

The command also is not available in themacOSTerminal. Instead, theecho command can be used in combination with specialescape sequences.[8]

Within theGNU GRUB command processortitle is one of several menu-specific commands. It is used to start a newboot entry.[9]

Syntax

[edit]
title [<String>]

Arguments:

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

Example

[edit]

The followingbatch file changes the title of the Command Prompt window to "Updating files" while thecopy command is being executed. After the command is executed, the text "Files updated" is displayed using theecho command, and the title of the Command Prompt window is changed back to "Command Prompt".

@echo offtitle Updating filescopy \\server\share\*.txt c:\documents\*.txtecho Files updatedtitle Command Prompt

See also

[edit]

References

[edit]
  1. ^"reactos/reactos".GitHub.
  2. ^"BBC Computer Related Manuals".www.8bs.com.
  3. ^"Microsoft TechNet Title article".
  4. ^"MS-DOS and Windows command line title command".www.computerhope.com.
  5. ^"Title - Windows CMD - SS64.com".ss64.com.
  6. ^Archiveddocs (2018-03-23)."TITLE (Command Processor) (Windows Embedded CE 6.0)".Microsoft Docs. Retrieved2020-09-20.
  7. ^"TITLE command - Change the window title".jpsoft.com.
  8. ^"How to change the Mac Terminal title from the command line | alvinalexander.com".alvinalexander.com.
  9. ^[1]Archived 2016-06-05 at theWayback Machine

Further reading

[edit]
  • 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

[edit]
Wikibooks has a book on the topic of:Guide to Windows Commands
Ecosystem
Interpreters
Terminals
File system navigation
File management
Archiving
Disk management
Processes
Registry
User environment
File contents
Scripting
Networking
Maintenance and care
Boot management
Software development
Miscellaneous
Retrieved from "https://en.wikipedia.org/w/index.php?title=Title_(command)&oldid=1270180013"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp