DOSBox is a program that emulates the functions of MS-DOS, including sound, graphics, input, and networking. DOSBox is used primarily to run older video games that were made specifically for the MS-DOS operating system. DOSBox is available for download for free, and can help you easily run almost any of your old favorite games.

Part 1
Part 1 of 4:

Installing DOSBox

  1. 1
    Download the latest version of DOSBox. You can download it for free from DOSBox.com in the Downloads section.
  2. 2
    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
  3. 3
    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
  4. 4
    Download a game. There are tons of sites that host old DOS games that can be downloaded free and legally. Search for "abandonware" sites. "Abandonware" are programs made by companies 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.
    • You can also copy the files from old installation disks you may have lying around (if you still have a floppy drive).
  5. 5
    Start DOSBox. You will be taken to the virtual command prompt Z:\>.[1]
  6. Advertisement
Part 2
Part 2 of 4:

Mounting Drives

Below are several ways that you can mount various media in DOSBox. Mounting your games folder will allow you to run any games that you've downloaded and placed in it. Mounting a CD will allow you to run old DOS games off the disc. Mounting a disc image (ISO) allows you to run a CD image files as if the CD was inserted.

  1. 1
    Mount your games folder. 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.
    • Type mount C C:\DOSGAMES and press Enter. Type C: and press Enter. Your input will change to C:\>.
    • For Macs, change the locations as appropriate (e.g mount C ~/DOSGAMES)
  2. 2
    Mount a CD. Insert the CD into your computer's disc drive. Type in the following mounting command:
    • Type mount D D:\ -t cdrom and press Enter. Replace D:\ to the drive letter of your disc 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. 3
    Mount an ISO disc image. If you have an ISO file for the game CD you want to play, you can mount it as if it was an actual disc.
    • 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. 4
    Mount a BIN/CUE disc image. If you have a BIN/CUE file for the game CD you want to play, you can mount it as if it was an actual disc.
    • 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. 5
    Mount a floppy disk drive. 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. 6
    Set DOSBox to automount your drive. 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.[2]
    • Windows - C:\Users\username\AppData\Local\DOSBox\dosbox-version.conf
    • Mac - /Macintosh HD/Users/username/Library/Preferences/DOSBox version Preferences
    • Add the following lines to the very bottom of the configuration file and then save it:

    •  MOUNT C C:\DOSGAMES
       C:

  7. Advertisement
Part 3
Part 3 of 4:

Running a Game

  1. 1
    Display the list of folders. If you've mounted your DOSGAMES folder, each of your games will usually be contained in their own folders. 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. 2
    Type .cd directory to open the directory of the game you want to play.
  3. 3
    Type .dir to display a list of all the files in the game's directory.
  4. 4
    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.
    • The EXE file will often have a name similar to the game. For example, Prince of Persia may be called POP.EXE.
  5. 5
    Run the game file. Type the name of the EXE, COM, or BAT file, including the extension, and press Enter.
  6. 6
    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.
  7. 7
    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.
  8. Advertisement
Part 4
Part 4 of 4:

Using a Frontend Program

  1. 1
    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.
  2. 2
    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.
  3. 3
    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.
  4. 4
    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.[3]
  5. Advertisement

Community Q&A

  • 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.
Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 12 people, some anonymous, worked to edit and improve it over time. This article has been viewed 330,978 times.
How helpful is this?
Co-authors: 12
Updated: August 17, 2022
Views: 330,978
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?
Advertisement