Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/future4tech/public_html/wp-includes/functions.php on line 6114
TITLE – Windows CMD Command - Future4Tech

TITLE – Windows CMD Command

Change the title displayed above the CMD window.

Syntax 
      TITLE [string]

Key
   string   The title for the command prompt window, up to 243 characters.

The TITLE command is typically used in a batch file to give the script window a meaningful name.

The default title for the CMD shell is %comspec% however, since the title can be re-defined in a program shortcut, the title is typically set to “Command Prompt”.

In a batch file, you can set the title to match the name of the batch file with:
TITLE %~nx0

The START command, used to start a program in a separate window also has an option to specify a title for the new Window.

If you call a batch script in a new CMD session, then any TITLE set within the batch file will revert when the second CMD session ends.

  TITLE Some initial title text
  CMD /c MyBatchFile.cmd
  ...

TITLE is an internal command.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *


Notice: ob_end_flush(): Failed to send buffer of zlib output compression (0) in /home/future4tech/public_html/wp-includes/functions.php on line 5464