Thursday, 22 December 2016

List of cmd prompt commands

List of command prompt commands
  • Assoc: This command is used to display or change the file type associated with a particular file extension.
  • Cipher: This cmd is used to show or changes the encryption status of files and folders on NTFS.
  • Diverquery: This cmd is used to show a list of all installed drivers.
  • Format: This cmd is used to format a drive in the file system that you specify.
  • Help: Help cmd provides more detailed information on any of the other.
  • Msg: Msg cmd is used to send a message to a user.
  • Net: Net cmd is used to display, configure and correct a wide variety of network settings.
  • Netstat: Netstat cmd is most commonly used to display all open network connections and listening ports.
  • Ping: Ping cmd sends an Internet Control Message Protocol(ICMP) Echo Request message to a specified remote computer to verify IP-level connectivity.
  • Pathping: Pathping cmd much like the tracert cmd but will also report information about latency and loss at each hop.
  • Tracert: Tracert cmd sends Internet Control Message(ICMF) Echo Request messages to a specified remote computer with increasing Time To Live(TTL) Field values and display the IP address and hostname, if available, of the router interfaces between the source and destination.
  • Tasklist: Display a list of applications, services, and Process ID(PID). Currently running on either a local or a remote computer.
  • Taskkill: Taskkill cmd is used to terminate a running task. Taskkill cmd is the cmdline equivalent of ending a process in Task Manager in windows.
  • Shutdown: Shutdown cmd can be used to shutdown, restart, or logoff the current system or a remote computer.
  • Sfc: SFC means System File Checker, Sfc cmd is used to verify and replace important windows system files.
  • Vol: Vol cmd shows the volume label and serial number of a specified disk, assuming this information exists.
  • Dir: Dir cmd is used to display a list of files and folders contained inside the folder that you are currently working in and hard drive's serial number,the total number of files listed, their combined size, the total amount of free space left on the drive.
  • Ipconfig: Ipconfig cmd is used to display detailed IP information for each network adapter utilizing TCP/IP. The ipconfig cmd can also be used to release and renew IP addresses on systems configured to receive them via a DHCP server.

Notes