1) ok answer to your question is that you use dosbox - dos emulator
2)solution to your problem differs a LOT
. File is most likely windows executable -
2a) emulate -wine, crossover
2b) run in windows - nativly: bootcamp[not recom]
- in virtual enviroment: vmware, parallels etc.
3)you may not want to hear this but learn html, php... whatever the hard way if you want to take web development seriously - textmate is a great text editor for coding