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.
- dir: Displays a list of files and subdirectories in the current directory.
- cd: Changes the current directory.
- md: Creates a new directory.
- rd: Removes a directory.
- del: Deletes one or more files.
- copy: Copies one or more files from one location to another.
- move: Moves one or more files from one location to another.
- ren: Renames a file or directory.
- type: Displays the contents of a text file.
- edit: Opens a text editor to create or modify a text file.
- attrib: Displays or changes the attributes of a file.
- format: Formats a disk or drive.
- chkdsk: Checks a disk for errors.
- tree: Displays a graphical representation of the directory structure.
- xcopy: Copies files and directories, including subdirectories.
- ping: Tests the connection between two devices on a network.
- ipconfig: Displays the network configuration information for the computer.
- netstat: Displays active network connections and their status.
- tasklist: Displays a list of currently running processes and their details.
- taskkill: Terminates a process by its process ID or image name.
- systeminfo: Displays detailed information about the computer system.
- shutdown: Shuts down the computer or restarts it.
- assoc: Displays or modifies file extension associations.
- fc: Compares two files or sets of files and displays the differences between them.
- 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.

