For DOSBox, I recommend good, old-fashioned batch files. DOSBox has built in support for these, so no additional software is required.
What you want to do requires two pieces:
Cause DOSBox to automatically mount your dos drive.
In the DOSBox configuration file (
dosbox-0.74.conf on my Windows system), there is a section at the bottom labelled "[autoexec]". Any commands you place here will be as if you typed them in manually. I have this:
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
mount j c:\dosdrive
This creates "j:" and then changes to that drive. You can, of course, use whichever drive letter you like.
Note that I'm not mounting my entire local c: drive. This would be bad practice, as DOSBox could mess up my non-DOSBox system if it has an error. Instead, I have the
dosdrive directory which contains all of my DOS games.
Write a small batch file for each game. Place them in your mounted directory (e.g.
dosdrive). These batch files change to the appropriate directories an run the executables:
subst x: j:\CD-XCOM
(XCOM has an extra step in its batch file. This is because it needed to run from CD. So, I copied the CD into a folder called
dosdrive) and then used the DOS
subst command to link to it.)
Now you can just open DOSBox, then type "xcom" or "warlords" and the game will simply start.
I know this isn't really a software recommendation, but I hope it helps!