This is essentially how all the DOS stuff I have on Zomb's Lair works, DOS games on GOG, etc. Using relative paths, you can move the folders wherever you want, so long as DOSBox's location is moved along with them. It does have to be on the same hard drive as DOSBox. If it wasn't located in DOSBox's folder, you'd just need to adjust the paths upwards to the point that it was an accessible subdirectory. Imgmount d ".\Games\Dreamweb\Disc Image\Dreamweb.iso" -t cdrom (or -t iso) You can also do this with disc images, so you could do something like: If you wanted to mount a specific subfolder as a cd drive, the same rules apply. would mount that folder as your C drive. So let's say DOSBox is located in C:\DOSBox and your game (we'll use Dreamweb as an example) is in C:\DOSBox\Games\Dreamweb \.\ = Up two folders from DOSBox's folder Sorry for the super late reply, but relative paths are usable in DOSBox.
#What file do i mount to run windows in dosbox windows#
I also tried to mount the folder from within LaunchBox & use the copy of DOSBox from within LaunchBox, and while I can get Windows 3.1 to run, the drive doesn't mount.
![what file do i mount to run windows in dosbox what file do i mount to run windows in dosbox](https://www.thecloudadmin.eu/post/2020-0101-windowsterminal/images/WindowsTerminal.002.jpg)
**EDIT:** Just wanted to mention that the DOSBox that's being used in this situation is contained within the directory, "DOSBox-Win31", and not the DOS Box in LaunchBox, so any folder mounted is relative to that directory, not the LaunchBox one. I had assumed that "CD\" would make it relative, but that doesn't work. How do I write the command so that it looks in that CD directory relative to the root directory? The original config file has #mount D "CD\" in it, but even after removing the # & switching the D to A, it doesn't work. Mount A C:\Users\usernamehere\LaunchBox\Games\Windows3\DOSBox-Win31\CD -t cdrom Now, I've gotten this to work by using the "-t cdrom" command & specifying a directory that has the CD files in it, but the problem is that the path is specific, meaning that if I move Launch Box to another computer, it won't work. Now the problem I'm having is that a program that I've downloaded (Gazillionare) thinks the CD drive is the A drive, so it checks that & fails, since there is no A drive (I can't reinstall it, unfortunately). That config file has "mount C C" in its commands to mount the root directory as the C drive, and then it launches Windows 3.1. So I have Windows 3.1 in LaunchBox, and it uses a bat file with the following off For some reason, I thought I tried that, but I guess I didn't. The command mount A "GazCD\" -t cdrom worked.
![what file do i mount to run windows in dosbox what file do i mount to run windows in dosbox](https://www.howtogeek.com/thumbcache/2/200/532d299a274a769dbb9a90bcd6f92b7b/wp-content/uploads/2016/10/img_5809219adc708.png)
Solved it, but I'm leaving this up in case anyone needs it.