Command Prompt – Basic Commands


cmd-basic-commands.webp



a) cls

       CLS refer to “Clear the screen” means the command will help you to clear you’re command prompt screen. It will erase all history of commands which you used before using this command.
       Syntax : cls

b) exit

    The command helps you to close you’re Command Prompt Screen without touching the mouse.
       Syntax : exit

c) type

    Type command helps you to view contains of a file. Means it works like Notepad, you need to provide file after using this command.
       Syntax : type “file location\file name”

d) time

    It will show you current computer time into this command window. Also you can change you’re computer time using this command.
       Syntax : time
Tip: Use Alt + Enter key for run command window into full screen mode.

e) date
       It is similar to time command, time command shows you current Computer time and date command shows you current date of you’re System.
       Syntax : date
f) title
       The command help you to change current window’s title (It only change CMD title not any other window title).
       Syntax : title You’re name here

g) echo
       It only show you you’re message into console window. Mostly the command use into batch file.
       Syntax : echo You’re name here

Leave a comment

Design a site like this with WordPress.com
Get started