I was going to suggest freedos, but it wouldn't let you call the Dos program from a script. On Linux, DOSEmu has a thing called 'dosexec' that lets you wrap DOS programs in a similar way to what Wine does for Windows apps. Not sure if it works with OS X tho.