These are just a few examples of the many MS-DOS commands available. By using these basic commands, you can navigate and manage files and directories, create and edit text files, and perform disk-related tasks. MS-DOS commands are still used today in various scenarios, such as batch scripting and automation.

  1. dir: Displays a list of files and subdirectories in the current directory.
  2. cd: Changes the current directory.
  3. md: Creates a new directory.
  4. rd: Removes a directory.
  5. del: Deletes one or more files.
  6. copy: Copies one or more files from one location to another.
  7. move: Moves one or more files from one location to another.
  8. ren: Renames a file or directory.
  9. type: Displays the contents of a text file.
  10. edit: Opens a text editor to create or modify a text file.
  11. attrib: Displays or changes the attributes of a file.
  12. format: Formats a disk or drive.
  13. chkdsk: Checks a disk for errors.
  14. tree: Displays a graphical representation of the directory structure.
  15. xcopy: Copies files and directories, including subdirectories.
  16. ping: Tests the connection between two devices on a network.
  17. ipconfig: Displays the network configuration information for the computer.
  18. netstat: Displays active network connections and their status.
  19. tasklist: Displays a list of currently running processes and their details.
  20. taskkill: Terminates a process by its process ID or image name.
  21. systeminfo: Displays detailed information about the computer system.
  22. shutdown: Shuts down the computer or restarts it.
  23. assoc: Displays or modifies file extension associations.
  24. fc: Compares two files or sets of files and displays the differences between them.
  25. find: Searches for a specified text string in one or more files.
    These commands can be useful in troubleshooting network issues, monitoring processes and system resources, and managing file associations. MS-DOS commands can be executed from the command prompt, which can be accessed by typing “cmd” in the Windows search bar or by pressing the Windows key + R to open the Run dialog box and typing “cmd” there.