Command line format is: dwg2dxf infile [outfile] [version]
Infile is the path and name of the drawing file to be converted.
Outfile is the path and name of the DXF file to be written. If this argument is omitted the program will create a name using the path and name of the input file. The output file will always be created with the extension .dxf. If the input file has an extension, it will be removed and replaced with .dxf. Otherwise the .dxf will be appended to the input file name.
Version specifies the Autocad file version to be written. If this argument is omitted the output version will be the same as the input version. This argument needs to be in an integer format with the following values accepted:
25 for ACAD version 2.5 files
26 for ACAD version 2.6 files
9 for ACAD version 9 files
10 for ACAD version 10 files
11 for ACAD version 11 files
12 for ACAD version 12 files
13 for ACAD version 13 files
14 for ACAD version 14 files
2000 for ACAD version 2000 files