The Windows Command Prompt


What is Windows Command Prompt??

       It is a built-in CLI (Command Line Interface) that is available in Mirosoft Windows. A CLI is a software or an interpreter that accepts commands in the form of code of single line.

          Earlier before Windows was created, Microsoft had an CLI OS named MS-DOS (MS for Microsoft and DOS for Disk Operating System). When windows was released MS-DOS was integrated in it as Command Prompt. The actions that coud be performed on DOS can also be performed on Command Ptompt.

Windows has its own GUI (Graphical User Interface) through which it can be easily controlled. But with Command Prompt, we can get advanced control over the Windows & CLI requires less resources to process which increases execution speed.

The syntax of the commands of Command Prompt are very easy. It is way much easier than C, C++, etc. One more advantage is we can predefine the code that is to be executed in an executable file.

It is known as Batch Programming. It supports conditional programming and many more. I will try to teach this language with help of some cool examples in my next post.


Windows Command Prompt


Advantages of Command Prompt :-

1.     Very Simple Syntax.
2.     Allows scripting
3.     Its look can be customized(Backgroung Colour, Foreground Colour, Font, Font Size, etc.)


Disadvantages of Command Prompt:-
1.     As compared to Linux’s Terminal (Another CLI), it is less powerful as Terminal offers more control over the system.
2.     At some times, Command Prompt crashes without giving information about the error.



Customized Command Prompt



Steps to run Command Prompt:-
1.     Open the Start Menu OR press the Windows Key.
2.     In the search box, type ‘cmd’
3.     Hit Enter



Alternate Method:-
1.     Press Windows Key + R. This will trigger the Run Dialog Box
2.     Type ‘cmd’ in it.
3.     Hit Enter




If you like this post please support us by sharing the post. Don't Forget to visit our Facebook & Instagram pages,  If you want to contact us, write us at Remedyhub11@gmail.com.