List of CMD Prompt Commands

To operate at command prompt level, you need to know some commands.

1. help: 
  • First let me say that there is intrinsic help in the command prompt.
  • If you’re not sure whether a certain command really exists or what it does or what switches there are to it.


2. dir:
  • The dir command lists the contents of the current directory.


3. cd:
  • To change directories lists the cd command.


4. mkdir:
  • This one is used to make a directory, i.e. create a new directory.
  • Type "mkdir name" to create a directory.


5. rmdir:
  • To remove a directory use this command.
  • Type "rmdir name" to remove a directory called name.
  • Only empty directories can be removed.


6. driverquery:
  • For a list of all drivers installed on your own computer, driverquery is the quickest solution.


7. ping:
  • It is used to check an IP address and see whether the respective computer is online or responding, i.e whether network communication between you and that computer is possible.


8. systeminfo:
  • The command to retrieve extensive information about your system, including windows serial number, computer model and available RAM.


9. assoc:
  • It is display a full list of file extensions and programs they're connected with.


10. cipher:
  • Deleting files on a mechanical hard drive doesn’t really delete them at all
  • Instead, it marks the files as no longer accessible and the space they took up as free. 
  • The files remain recoverable until they’re overwritten with new data, which can take some time.


11. netstat:
  • Entering the command “netstat -an” will provide you with a list of currently open ports and related IP addresses.


12. pathping:
  • This is a more advanced version of ping that’s useful if there are multiple routers between your PC and the device you’re testing. 


13. tracert:
  • The “tracert” command is similar to pathping. 
  • Unlike pathping, however, tracert also tracks how much time (in milliseconds) each hop between servers or devices takes.


My notes images: