How to run an old dos program ( dos4wg ) on a 64 bit OS
Posted on 2011-03-02
I have a Windows 2008 64 bits server. I also have a really old Fortran programs that was build using Watcom and the DOS4WG.exe program.
However, this programs does not work anymore because DOS4WG.exe is a 16 bits applications, and therefore it does not run anymore on that OS.
We tried DOSBOX to validate the problem, and our programs runs fine in that emulator. However, for our problem, we need to be able to call the programs multiple times from scripts.
So we see two possible solutions...
1) Have a DOS4WG.exe 32 bits version, which I was not able to find so far ( or something similar that I could adapt my code for )
2) Using scripts to automatically launch DOSBOX, mount drives and launch commands
I got the code and it compiles fine with the latest version of Open Watcom Fortran compiler.
Thanks for your advices!