This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 380,737 times.
Learn more...
DOSBox is a program that emulates MS-DOS, including its sound, graphics, input, and networking. DOSBox is mostly used to play older video games that were made specifically for the MS-DOS operating system. DOSBox is available for download for free, and it's easy to install and set up. In this wikiHow guide, we'll walk you through the step-by-step process of installing, configuring and using DOSBox on your Windows PC or Mac.
Quick Steps
- Download DOSBox from dosbox.com.
- Run the installer.
- Create a separate folder for your DOS games.
- Download games to your DOSGAMES folder.
- Start DOSBox and mount the games folder.
- Navigate to the game and run its EXE or BAT file.
Steps
Installing DOSBox
-
Download the latest version of DOSBox. You can download the installer from DOSBox.com by clicking the Download Now button. To download a specific version, such a Linux .DEB package, just click the link for your preferred download.[1]
-
Run the installer. When installing DOSBox, you may find it easier to change the installation location to C:\DOSBox instead of using the default location.
- Change C: to whatever drive letter you want DOSBox installed on.
Advertisement -
Create a new folder on the same drive for your games. Games that you download will be placed here. This folder will be mounted as a virtual drive in DOSBox.
- For example, if you installed DOSBox at C:\DOSBox\, create a folder in the same location, like C:\DOSGAMES.
-
Download some games. There are tons of sites that host old DOS games that can be downloaded for free and legally. Search for "abandonware" sites, which host programs made by developers that no longer exist and that have no retail means to purchase. Place the downloaded files in their own folder inside the games folder you created in the previous step.
- A few common places to download games you can play on DOSBox:
- myabandonware.com
- classicdosgames.com/
- You can also copy the files from old installation disks you may have lying around (if you still have a floppy drive).
- Save the downloaded games to your DOSGAMES folder.
- A few common places to download games you can play on DOSBox:
-
Start DOSBox. You will be taken to the virtual command prompt Z:\>.[2]
Playing a Game
-
Display the list of folders. If you've mounted your DOSGAMES folder, each of your games will usually be contained in its own folder. Type dir to list all of your game directories. If you mounted a disc or disc image, a list of all the files and folders on the disc will be displayed.
-
Type .cd directory to open the directory of the game you want to play. Replace "directory" with the name of the game's directory, and press ↵ Enter after running the command. For example, cd DUKENUKEM.
-
Type .dir to display a list of all the files in the game's directory. Now you'll see the names of the files inside the game's directory.
-
Look for the game file. Most games start by running an EXE file, though you may need to run a COM or BAT file. This is mainly for older games.[7]
- The EXE file will often have a name similar to the game. For example, Prince of Persia may be called POP.EXE.
-
Run the game file. Type the name of the EXE, COM, or BAT file, including the extension, and press ↵ Enter. This opens the game in DOSBox.
-
Adjust your game's performance. There are several keyboard shortcuts that can be used to adjust the performance of your game. These commands can be useful since a lot of old games will not perform properly on modern systems.
- Ctrl+F8 - This increases the amount of frameskip. Frameskip prevents DOSBox from rendering certain frames, which can improve performance but leads to some visual problems.
- Ctrl+F7 - This decreases the amount of frameskip. 0 frameskip means that DOSBox is rendering every frame possible.
- Ctrl+F12 - This will speed up the game by allocating more processor power to DOSBox. You can monitor your processor by pressing Ctrl+⇧ Shift+Esc and selecting the "Performance" tab. If you still need performance increases after maxing out your processor, increase the frameskip.
- Ctrl+F11 - This will slow the game down by reducing the amount of processing power.
- Not all games will run smoothly on DOSBox, even after tweaking performance settings.
-
Switch to full screen. If you want the game to take up your entire screen, press Alt+↵ Enter. You can exit full-screen mode by pressing the same keys again.
Using a Frontend Program
-
Download and install a front-end program. If using the command prompt seems a little too complex, you can download a frontend program. These programs use a Windows interface, allowing you to load, start, and adjust games without ever using a command prompt.
- One of the most popular front ends is D-Fend Reloaded, available for free from dfendreloaded.sourceforge.net.
- D-Fend Reloaded includes the DOSBox files.
-
Run D-Fend Reloaded. Once it has been installed, you can start D-Fend Reloaded to manage your games. Your installed games will be sorted in the left frame.
-
Add games. You can easily add DOS games by dragging and dropping an archive file containing the game into the open D-Fend Reloaded window. The game archive will be automatically extracted, and the files will be placed in the right place.
-
Run a game. Double-click a game from the list to begin playing it. Your Windows color scheme may change temporarily while the game is running to support old DOS colors.
Community Q&A
-
QuestionAre DOS and command prompt similar?
Community AnswerYes. The Windows command prompt actually uses a language based on DOS. All the commands that work in DOS will work in Windows. -
QuestionCan I write new programs in DOSBox?
Community AnswerYes, but you will need a compiler or interpreter. The simplest way it to use QBasic. Set up your compiler similar to how an old game is set up and it should work. -
QuestionI have some QBasic programs from the Windows 98 days. Can I run them with DOSBox?
Community AnswerYes, just load up the QBasic interpreter and your programs in DOSBox, similar to how old games are loaded up.
Video
Tips
References
- ↑ https://www.dosbox.com/wiki/Basic_Setup_and_Installation_of_DosBox
- ↑ https://www.dosbox.com/wiki/Basic_Setup_and_Installation_of_DosBox
- ↑ https://www.dosbox.com/wiki/Basic_Setup_and_Installation_of_DosBox
- ↑ https://www.dosbox.com/wiki/MOUNT#Mounting_a_CD_ROM_drive
- ↑ https://www.dosbox.com/wiki/MOUNT#Mounting_an_ISO-File_as_volume
- ↑ https://www.dosbox.com/wiki/Basic_Setup_and_Installation_of_DosBox#Automatically_Mounting_Your_DOS_Games_folder
- ↑ https://www.dosbox.com/wiki/Basic_Setup_and_Installation_of_DosBox
About This Article
1. Download the installer from Dosbox.com.
2. Run the installer.
3. Create a new folder on the same drive for your games.
4. Download and save games to the new folder.
5. Open DOSbox.
6. Mount the folder containing your games.
7. Type "cd GAMEFOLDERNAME
and press Enter.
8. Type the file name of the game and press Enter.
























