The Ultimate List of 50 Essential Windows Command Prompt Commands

  1. cd - Change Directory

  2. dir - List Files and Directories

  3. mkdir - Make a Directory

  4. rmdir - Remove a Directory

  5. copy - Copy Files

  6. move - Move or Rename Files

  7. rename - Rename Files

  8. del - Delete Files

  9. type - Display File Contents

  10. echo - Display Text on Screen

  11. set - Set Environment Variables

  12. cls - Clear Screen

  13. exit - Exit Command Prompt

  14. help - Display Help for Commands

  15. assoc - Associate File Types

  16. attrib - Change File Attributes

  17. break - Exit a Loop or Command

  18. call - Call a Batch File

  19. chcp - Change Active Code Page

  20. chdir - Change Directory

  21. chkdsk - Check Disk for Errors

  22. chkntfs - Display or Modify Checking of Disk

  23. cmd - Open Command Prompt

  24. color - Change Text Color

  25. compact - Compress Files

  26. convert - Convert File System

  27. date - Display or Set Date

  28. defrag - Defragment Hard Drive

  29. deltree - Delete Directory and Contents

  30. diruse - Display Disk Usage

  31. diskcomp - Compare Contents of Two Floppy Disks

  32. diskcopy - Copy Contents of One Floppy Disk to Another

  33. dismap - Display Drive Mapping

  34. doskey - Display or Edit Command History

  35. echo - Display Text on Screen

  36. endlocal - End Localization of Environment Changes

  37. erasew - Delete Files and Subdirectories

  38. eventcreate - Create a New Event in the Event Log

  39. eventtriggers - Display or Configure Event Triggers

  40. find - Search for Files

  41. findstr - Search for Strings in Files

  42. format - Format a Disk

  43. fsutil - Display or Configure File System Properties

  44. ftp - Transfer Files Using FTP

  45. goto - Go to a Label in a Batch File

  46. gpresult - Display Group Policy Settings

  47. graftabl - Enable or Disable Graphics Tablet

  48. help - Display Help for Commands

  49. icacls - Display, Modify, Backup, or Restore ACLs

  50. label - Add, Edit, or Delete a Disk Label

0
Subscribe to my newsletter

Read articles from YagneshwarChinni directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

YagneshwarChinni
YagneshwarChinni

I am an aspiring DevOps engineer currently pursuing my undergraduate degree in Computer Science at K L Deemed to be University. Specializing in DevOps, I hold certification as a Cloud Practitioner and am dedicated to advancing my expertise in Integrated Cloud-DevOps.