VOGONS

Common searches


First post, by sriNick

User metadata
Rank Newbie
Rank
Newbie

Howdy,

So I have an old *.exe that I can't run in Windows 7. Naturally, I turned to DOSBox to get it up and running. Everything worked famously, but I have a new challenge.

One of my co-workers needs access to this old file now, and they are at a skill set well below using even the most rudimentary commands via command line. So what I'd like to do (assuming this is possible), is create an application wrapper using DOSBox, whereby my coworker can simply double-click an icon to open up this application (which, behind the scenes, would open DOSBox, mount the folder the application is contained in, and start the application).

Is what I'm looking to do even possible? I've searched the forums here but I haven't had any luck. Can anyone point me in the right direction?

Any help you can offer would be much appreciated!

Reply 1 of 2, by carangil

User metadata
Rank Newbie
Rank
Newbie

Sure, its pretty easy.

1. install dosbox
2. put the old application somewhere, like c:\users\xxx\myOldProgram
3. create a custom version of the dosbox.conf file, and drop it in the myOldProgram directory. In the [autoexec] section, add the commands to mount the directory and run the old program
4. create a shortcut to dosbox with the -conf option:
c:\program files\dosbox\dosbox.exe -conf "c:\users\xxx\myOldProgram\dosbox.conf"

reference:
http://www.dosbox.com/wiki/Dosbox.conf