### 37.4.5 Converting from one DCL format to another

You can use the dcl program to convert from one form of DCL to the other. ASCII DCL files normally have extension .dcl, while binary DCL files have extension .dcb.

To convert an ASCII DCL file to binary DCL:

dcl -t dcb myfile.dcl

To convert a binary DCL file to ASCII DCL:

dcl -t dcl myfile.dcb

To generate ASCII DCL directly from a MIF file, use target option dcl:

dcl -t dcl myfile.mif

To generate an RTF file from DCL, you can omit the target option:

dcl myfile.dcb

The dcl program uses dcx.dll to convert from one form of DCL to the other.

| 37.4.4 Converting a file to HTML |  | 37.4.6 Generating DITA output via command line |