Home > Commands A-M > Commands Ch-Cz

CLS


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Clears the screen.

The cleared screen shows only the command prompt and cursor.


Syntax

CLS /?

CLS


Parameters

none


Switches
/? (NTXP)
Display help.

Related

none


Notes
Windows 95 Note

Close an open Batch-window (DOS-Prompt) after running a batch program.

The window remains open when there is text to display.

Clear the screen (CLS) and the window will close.


Examples

none.


Errorlevels

none.


Availability
Internal
DOS
v2.0 v2.01 v2.05 v2.10 v2.11 v2.11R v2.12 v2.2 v2.25 v3.0 v3.20 v3.05 v3.1 v3.21 v3.25 v3.30 v3.3A v3.3R v3.3T v3.31 v3.40 v4.0 v4.01 v4.01A v5.0 v5.0A v5.00.02 v5.001A v5.01 v5.02 v6.0 v6.10 v6.2 v6.21 v6.22 v6.23 v7.00 v7.0R1 v7.10 v8.00
Windows
Win95 Win98 WinME
Windows NT
NT3.1 NT3.5 NT3.51 NT4 NT2000 NTXP NT2003

Last Updated: 2006/12/01
Direct corrections or suggestions to: Rick Lively