Cls (computing)

Cls (computing)

cls (for clear screen) is a command used by the command line interpreters COMMAND.COM and cmd.exe on DOS, OS/2 and Microsoft Windows operating systems to clear the screen or console window of commands and any output generated by them. It does not clear the user's history of commands, however. In other environments, like for instance Linux and Unix the same functionality is provided by the "clear" command.

While the ultimate origins of using the three-character string "cls" as the command to clear the screen likely predate Microsoft's use, this command was present before its MS-DOS usage, in the embedded ROM BASIC dialects Microsoft wrote for early 8-bit microcomputers (such as TRS-80 Color BASIC), where it served the same purpose. The MS-DOS dialects of BASIC written by Microsoft, BASICA and GW-BASIC, also have the "cls" command as a BASIC keyword. The "cls" command is also present in BASIC versions for Microsoft Windows, however this generally clears text printed on the form, rather than the whole screen or controls on the form.

The command "cls" has appeared as a clear screen command in many other BASIC dialects and command line interpreters, because of its familiarity through being included in MS-DOS.

ee also

*List of DOS commands

References

* [http://technet.microsoft.com/en-us/library/bb490879.aspx Microsoft TechNet Cls article]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • CLS — Common Language Specification (Computing » General) Clinical Laboratory Science (Academic & Science » Universities) **** Celestica, Inc. (Business » NYSE Symbols) **** Continuous Linked Settlement (Community » Law) **** Clinical Laboratory… …   Abbreviations dictionary

  • Shutdown (computing) — Windows XP shutdown dialog box …   Wikipedia

  • Reflection (computer programming) — Programming paradigms Agent oriented Automata based Component based Flow based Pipelined Concatenative Concurrent computi …   Wikipedia

  • Mono (software) — This article is about the computing platform. For other uses, see Mono (disambiguation). Mono Developer(s) Xamarin (formerly by Novell and originally by Ximian) and the Mono community …   Wikipedia

  • History of virtual learning environments — A virtual learning environment (VLE) is a system that creates an environment designed to facilitate teachers in the management of educational courses for their students, especially a system using computer hardware and software, which involves… …   Wikipedia

  • Celestica — Infobox Company company name = Celestica Inc. company company type = Public foundation = 1994 location = flagicon|Canada Toronto, Ontario key people = Craig H. Muhlhauser (CEO) industry = Electronics products = Computing, communications,… …   Wikipedia

  • List of MS-DOS commands — Contents 1 Resident and transient commands 2 Command line arguments 3 Windows command prompt …   Wikipedia

  • Natural scientific research in Canada — This article outlines the history of natural scientific research in Canada, including mathematics, physics, astronomy, space science, geology, oceanography, chemistry, biology, medical research and psychology. The social sciences are not treated… …   Wikipedia

  • Бейсик — У этого термина существуют и другие значения, см. Бейсик (значения). BASIC Класс языка: алгоритмический, позже процедурный, позже объектно ориентированный Появился в: 1963 Автор(ы): Томас Курц, Джон Кемени Расширение файлов …   Википедия

  • Windows PowerShell — Screenshot of a sample PowerShell session …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”