This is an MS-DOS Simulator written in C++. It simulates a basic command-line interface similar to MS-DOS, complete with commands like dir
, format
, and exit
.
This MS-DOS Simulator is a fun project that replicates the look and feel of the classic MS-DOS command-line interface. It's written in C++ and includes basic commands and functionality.
To get started with this simulator using Visual Studio, follow these simple steps:
-
Clone or Download the Repository: You can clone this repository to your local machine using Git or simply download it as a ZIP archive.
-
Open the Visual Studio Solution: Navigate to the root folder of the project and open the Visual Studio solution file (
.sln
) in Visual Studio. -
Build and Compile the Project:
- Once the solution is open in Visual Studio, right-click on the project in the Solution Explorer and select "Build" to compile the code.
- After the build process is complete, you can run the compiled executable to start the MS-DOS simulator.
Once you have the simulator running, you can interact with it just like you would with MS-DOS. Here are some of the available commands:
cls
: Clear the screen.help
: Display available commands.dir
: List directory contents.mkdir
: Create a directory.format
: Format a drive.chkdsk
: Check a drive for errors.vol
: Display disk volume.mem
: Display memory usage.ver
: Display version information.exit
: Exit the MS-DOS simulator.
The simulator supports various MS-DOS commands. You can add custom commands or modify the existing ones by extending the commands
map in the code.
Feel free to contribute to this project by opening issues, submitting pull requests, or suggesting improvements. We welcome your input and ideas.
This project is licensed under the MIT License. See the LICENSE file for details.