Windows Batch Scripting/Interactive Commands

=Interactive Commands=

This chapter covers the following commands:


 * CLS -    Clears the screen.
 * COLOR -  Sets the default console foreground and background colors.
 * DOSKEY - Edits command lines, recalls Windows commands, and creates macros.
 * HELP -   Provides Help information for Windows commands.
 * PROMPT - Changes the Windows command prompt.
 * TITLE -  Sets the window title for a CMD.EXE session.

The COLOR COMMAND
The COLOR command sets the default console foreground and background colors.

The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute the COLOR command with a foreground and background color that are the same.