PDF download Download Article
Play your favorite MS-DOS games in this free DOS emulator
PDF download Download Article

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

  1. Download DOSBox from dosbox.com.
  2. Run the installer.
  3. Create a separate folder for your DOS games.
  4. Download games to your DOSGAMES folder.
  5. Start DOSBox and mount the games folder.
  6. Navigate to the game and run its EXE or BAT file.
Section 1 of 4:

Installing DOSBox

PDF download Download Article
  1. 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]
  2. 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
  3. 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.
  4. 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:
    • 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.
  5. You will be taken to the virtual command prompt Z:\>.[2]
  6. Advertisement
Section 2 of 4:

Mounting Drives

PDF download Download Article
  1. It is not safe to mount your entire hard drive in DOSBox, so instead, you'll be mounting your games folder as a virtual drive. The games folder will act as a hard drive. Here's how:[3]
    • Type mount C C:\DOSGAMES and press Enter (assuming your games folder is C:\DOSGAMES}}.
    • Type C:\DOSGAMES and press Enter to navigate through your games.
    • For Macs, change the locations as appropriate (e.g mount C ~/DOSGAMES).
  2. If you have games on a CD or DVD, you can mount it using this command:[4]
    • Type mount D D:\ -t cdrom and press Enter. Replace D: with the drive letter of your optical drive.
    • Type D: and press Enter. Your input will change to D:\>, and you can navigate through the CD's files.
    • cdrom needs to be lowercase.
  3. If you have an ISO file for the game CD you want to play, you can mount it as if it were an actual disc.[5]
    • Type imgmount D C:\ImagePath\image.iso -t iso and press Enter.
    • Replace C:\ImagePath\image.iso with the actual location and filename of the ISO file.
  4. If you have a BIN/CUE file for the game CD you want to play, you can mount it as if it were an actual disc. Here's how:
    • Type imgmount D C:\ImagePath\image.cue -t iso and press Enter.
    • Replace C:\ImagePath\image.cue with the actual location and filename of the CUE file.
    • The BIN file needs to have the same name and be in the same location.
  5. If you have a floppy disk drive installed in your computer, you can mount it so that DOSBox can access it.
    • Type mount A A:\ -t floppy and press Enter.
  6. To save yourself some time when you start DOSBox, you can set it to automatically mount the drive of your choice. To do this, you'll need to open the dosbox.conf file in a text editor like Notepad or TextEdit.[6]
    • Windows - C:\Users\username\AppData\Local\DOSBox\dosbox-version.conf
    • Mac - ~/Library/Preferences/DOSBox 0.73 Preferences
    • Add the following lines to the very bottom of the configuration file and then save it:
      • MOUNT C C:\DOSGAMES
      • C:
  7. Advertisement
Section 3 of 4:

Playing a Game

PDF download Download Article
  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Type the name of the EXE, COM, or BAT file, including the extension, and press Enter. This opens the game in DOSBox.
  6. 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.
  7. 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.
  8. Advertisement
Section 4 of 4:

Using a Frontend Program

PDF download Download Article
  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Are DOS and command prompt similar?
    Community Answer
    Community Answer
    Yes. The Windows command prompt actually uses a language based on DOS. All the commands that work in DOS will work in Windows.
  • Question
    Can I write new programs in DOSBox?
    Community Answer
    Community Answer
    Yes, 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.
  • Question
    I have some QBasic programs from the Windows 98 days. Can I run them with DOSBox?
    Community Answer
    Community Answer
    Yes, just load up the QBasic interpreter and your programs in DOSBox, similar to how old games are loaded up.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Play 16 Bit Apps on a 64 Bit ComputerPlay 16 Bit Apps on a 64 Bit Computer
Use MS DOS Use MS DOS
Copy Computer Games from CD to Your Hard DriveCopy Computer Games from CD to Your Hard Drive
Fix Full Screen in Command Prompt (CMD)Fix Full Screen in Command Prompt (CMD)
Install an ISO Game File on a Windows PCInstall an ISO Game File on a Windows PC
Install MS DOS 7.1Install MS DOS 7.1
Play PlayStation 2 Games on a PC Using PCSX2 Play PS2 Games on Your Computer With PCSX2
Use Retroarch Use Retroarch to Play Your Favorite Games on Any System
Install a Nintendo DS Emulator on PC or Mac Install the DeSmuME Nintendo DS Emulator
Mount an ISO ImageMount an ISO Image
Open an Img File on PC or Mac Open an IMG File on a PC or Mac: 6 Easy Options
Run an ISO File Without BurningRun an ISO File Without Burning
Run a Program on Command Prompt Run a Program at the Windows Command Prompt: 2 Ways
Open BIN FilesOpen BIN Files
Advertisement

About This Article

Nicole Levine, MFA
Written by:
wikiHow Technology Writer
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 viewed 380,737 times.
How helpful is this?
Co-authors: 14
Updated: December 19, 2025
Views: 380,737
Categories: Command Prompt
Article SummaryX

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.

Did this summary help you?

Thanks to all authors for creating a page that has been read 380,737 times.

Is this article up to date?

Advertisement