EXE2UNIX

EXE2UNIX can be used to convert MS-DOS programs to run on Unix (or even Linux). However, most recent versions of Unix/Linux come without support for 16 bit programs. This has to be installed as an addiitional package, and it is often buggy. We no longer recommmend using it.

The syntax of EXE2UNIX is:

EXE2UNIX options programnames

programnames specifies one or more .EXE files to be converted. The following options are available with EXE2UNIX:

−EXE pathname\

Specifies where to find the DOS .EXE files

−UNIX pathname\

Specifies where to place the converted files

−DUMMY pathname\

Specifies where to find the dummy files needed for the conversion

−SUFFIX

Specifies that converted files should be given a .UNX suffix. Normally the converted files are not given a suffix

−BINDSpecifies that the converted program should hace the terminal manager "bound" in. This will make the program run faster, especially if it is a batch program that calls terminal manager functions intensively (for example a Report Program with a lot of output), but it will take up a lot more space on disk.

If you use the −EXE,−UNIX or −DUMMY options it is important to put a trailing backslash after the pathname, unless it just refers to the current directory on another drive (e.g. −UNIX d: )

Example

The command:

EXE2UNIX DBASE.EXE −EXE C:\WORK\ −UNIX C:\UNIXWORK\ −DUMMY C:\DP4\DUMMY\ −SUFFIX

converts the DOS program C:\WORK\DBASE.EXE to the UNIX program C:\UNIXWORK\DBASE.UNX.