How to Mount a Program to DOSBox
DOSBox provides a full DOS environment, but by default it does not have access to any of your Windows files and folders. Thus, before you can run a program in DOSBox, you must mount its folder inside DOSBox. The mount command makes the specified folder available as a drive letter inside DOSBox.
-
1.
Browse to the program’s folder in Windows Explorer. Note the full path to the program’s folder, which appears in the location bar at the top of the Windows Explorer window.
-
2.
Type the following command into the DOSBox window, replacing “C:\Users\Name\Example Folder” with the path to the program’s folder:
mount C “C:\Users\Name\Example Folder”
-
3.
Access the mounted program’s drive inside DOSBox by typing “C:” (without quotes) and pressing “Enter.”
-
4.
Type the name of the program’s EXE file to execute it. For example, if your program is named "Example.exe," type “Example” (without quotes) and press “Enter.”
References
Resources
Tips
- The quotation marks around the program’s folder in the mount command are only necessary if the folder’s path contains one or more spaces.
- Add the “-t cdrom” option to mount a program on a CD. For example, the command “mount C D:\ -t cdrom” takes the CD drive available at D:\ in Windows and mounts it at C: inside DOSBox.
Writer Bio
Chris Hoffman is a technology writer and all-around tech geek who writes for PC World, MakeUseOf, and How-To Geek. He's been using Windows since Windows 3.1 was released in 1992.