Convert documents of RTF to WMF by command line

WMF is a kind of image format and you can convert the document of rtf to wmf by the command line application easily. If you want to know how the application can do this, just read the following contents.

The application you should use is the internal application of Document Converter—doc2pdf.exe which is able to convert any printable documents to various image formats.

To use it smoothly, please download doc2pdf.exe at and install it on you computer.

The command line application can be called in MS-DOS interface and you need to open MS-DOS prompt window for inputting the command line before you convert the document of rtf to wmf.

Just see the following contents which are the details about the conversion and there are only three steps.

  • Open MS-DOS prompt window

Please click “Start”—“Run” to open “Run” dialog box. In “Open” combo box of the dialog box, you need to input “cmd” or “CMD” and click “OK” button. You can also press “Window”+ “R” on the keyboard at the same time to open “Run” dialog box.

  • Input command line

You need to input the command line which contains called program, source file and target file into the command line prompt window. You can refer to the following command line basic sample:

doc2pdf –i D:\input-file.rtf –o D:\output-file.wmf

doc2pdf indicates the called program.

–i D:\input-file.rtf  indicates the source file.

–o D:\output-file.wmf is the target file of course.

When you input the command line into MS-DOS interface, please use the path of each file, like the following one:

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" –i D:\input-file.rtf –o D:\output-file.wmf


"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" is the path of doc2pdf.exe.

–i D:\input-file.rtf is the path of source file.

–o D:\output-file.wmf is the path of target file. This element you should set yourself.

  • Run the conversion

The “Enter” button on the keyboard must be clicked for running the conversion from the document of rtf to wmf and you can find the target file in the specified location.

To learn more information about doc2pdf.exe or Document Converter, please click the following link:

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!