CMD2EXE

CMD2EXE converts FlexOS programs to MS-DOS programs. The syntax of CMD2EXE is:

CMD2EXE options programnames

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

−CMD pathname\

Specifies where to find the DOS .CMD files

−EXE pathname\

Specifies where to place the converted files

−DUMMY pathname\

Specifies where to find the dummy files needed for the conversion

−286

Specifies conversion from .286 files. (You should always specify this)

If you use the −CMD,−EXE 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. −EXE d: )

Example

The command:

CMD2EXE -286 DBASE.286 −CMD C:\WORK\ −EXE C:\EXEWORK\ −DUMMY C:\DP4\DUMMY\

converts the FlexOS program C:\WORK\DBASE.CMD to the MS-DOS program C:\EXEWORK\DBASE.EXE.

If you really want to you can then convert the generated MS-DOS program to run on another operating system with EXE2UNIX or EXE2OS2!