• A command is a specific instruction given to a computer application to perform some kind of task or function.
  • Command prompt is a command line interpreter application available in most windows operating system. It is used to execute entered commands.
  • Most of these commands automate tasks via scripts and batch files, perform advanced administrative functions, and troubleshoot or solve certain kinds of Windows issues.
  • Command prompt is also called as cmd prompt or even by its filename, cmd.exe.
  • Command prompt interact with the user through a command line interface.
  • Command line interfaces and prompts were the standard interface for computers from the early days into the 1980s. 
  • MS-DOS systems and other early consumer market computers were CLI-based. 
  • Current Windows systems offer the CLI for administrative tasks. 
  • The CLI is still an essential part of Linux use.
     How to access the command prompt:
  • Press "Windows + R" and type "cmd" then click "OK".
     Some commands used in windows operating system:
  • File compare: We can use this command to identify differences in text between two files. It’s particularly useful for writers and programmers trying to find small changes between two versions of a file. Simply type “fc” and then the directory path and file name of the two files you want to compare.
    fccmd 
  • Ping: Ping followed by an IP address or web domain will send a series of test packets to the specified address. If they arrive and are returned, you know the device is capable of communicating with your PC. 

  • Tasklist: We can use the “tasklist” command to provide a current list of all tasks running on your PC. Though somewhat redundant with Task Manager, the command may sometimes find tasks hidden from view in that utility.
tasklist