The CLS command clears the screen.
Syntax
CLS
- CLS command may be used in a program.
- The screen may also be cleared by pressing CTRL+ HOME
- CLS returns the cursor to the upper-left corner of the screen
Example 6
CLS (press enter key)
It clears the screen.
SYSTEM
The SYSTEM command is used to return to MS-DOS.
Syntax
SYSTEM
- The SYSTEM command closes all the files before using sysyem command and it returns to MS-DOS.
- You have to save the program before using system command and pressing the ENTER key. otherwise the program will be lost.
Example 7
SYSTEM (press enter key)
It returns you to the MS-DOS prompt (e.g. C:\>).
No comments:
Post a Comment