40 Commonly Used CMD Commands and Their Functions

CMD Commands Functions Techhyme

CMD or Command Prompt is a powerful tool in the Windows operating system that allows users to interact with the system through a command-line interface. It provides a range of commands that can be used to perform various tasks on the system, from basic file management to advanced system administration.

Here is a list of some of the commonly used CMD commands and their functions:

  1. ADDUSERS – This command is used to add or list users to/from a CSV file.
  2. BCDBOOT – This command is used to create or repair a system partition.
  3. CACLS – This command is used to change file permissions.
  4. CHANGE – This command is used to change Terminal Server Session properties.
  5. CIPHER – This command is used to encrypt or decrypt files/folders.
  6. CLS – This command is used to clear the screen.
  7. COLOR – This command is used to change colors of the CMD window.
  8. COMPRESS – This command is used to compress one or more files.
  9. CSCCMD – This command is used to manage client-side caching (Offline Files).
  10. COPY – This command is used to copy one or more files to another location.
  11. CERTUTIL – This command is a utility for certification authority (CA) files and services.
  12. DEFRAG – This command is used to defragment a hard drive.
  13. DELPROF – This command is used to delete user profiles.
  14. DEVCON – This command is a device manager command-line utility.
  15. DIRUSE – This command is used to display disk usage.
  16. DISKUSE – This command is used to show the space used in folders.
  17. DSACLS – This command is used to view Active Directory ACLs.
  18. DSGET – This command is used to view items in the Active Directory.
  19. DSMOVE – This command is used to move an Active Directory object.
  20. DEL – This command is used to delete one or more files.
  21. ENDLOCAL – This command is used to end localization of environment changes in a batch file.
  22. ERASE – This command is used to delete one or more files.
  23. EXIT – This command is used to quit the current script/routine and set an error level.
  24. EXPLORER – This command is used to open Windows Explorer.
  25. EXTRACT – This command is used to uncompress CAB files.
  26. FIND – This command is used to search for a text string in a file.
  27. FOR /F – This command is used for loop command against a set of files.
  28. FOR – This command is used for loop command with all options: files, directory, list.
  29. FORMAT – This command is used to format a disk.
  30. FSUTIL – This command is used for file and volume utilities.
  31. EXPAND – This command is used to uncompress CAB files.
  32. FTYPE – This command is used for file extension file type associations.
  33. GETMAC – This command is used to display the Media Access Control (MAC) address.
  34. GPRESULT – This command is used to display Resultant Set of Policy information.
  35. HELP – This command is used for online help.
  36. ICACLS – This command is used to change file and folder permissions.
  37. IF – This command is used to conditionally perform a command.
  38. IPCONFIG – This command is used to configure IP.
  39. LABEL – This command is used to edit a disk label.
  40. LOGMAN – This command is used to manage Performance Monitor logs.
You may also like:

Related Posts

Leave a Reply