You can use the command line application doc2pdf.exe of Document Converter which is a professional document converter to convert the document of within three steps. For the conversion, you just need to download the application and install it on your computer, then the executable file can be called any time.
Document Converter is made up of three internal applications: command line application which can be used by software developers to redistribute it to their own developed software, GUI application which can be used to make batch conversion from any printable documents to image formats, virtual printer application which is able to save paper and ink when you print documents.
You can click the following link the download the trial version of command line application of Document Converter at http://www.verypdf.com/artprint/docprint_pro_setup.exe. Then you should set up it to your computer and after the installation, you can see the executable file doc2pdf.exe in the folder, which is the called program in the conversion from .
In following steps, you will see how to convert the document ofby command line.
The first step is to open MS-DOS interface. You can use the quick way by pressing “Window”+ “R” to open “Run” dialog box and then input “cmd” in “Open” combo box. Then click “OK” button. You can also use the regular way by clicking “Start”—“Run” to open “Run” dialog box.
The second step is to input the command line in MS-DOS interface. The command line is consisted of three parts: called program which is the executable file doc2pdf.exe, source file which is the RTF document to be converted and the target file which is the created EMF file. When you input your own command line, you should use the paths of each file. Please see the following example:
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i "D:\My Documents\report.rtf" -o "D:\My Documents\report.emf"
In the command line,
(1) "C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" stands for the path of doc2pdf.exe.
(2) -i "D:\My Documents\report.rtf" stands for the path of source file. Here “-i” is a necessary part of the command line and you can not lose it.
(3) -o "D:\My Documents\report.emf" is the path of target file. Also, “-o” can not be ignored.
The last step is to run the conversion from rtf to emf by clicking “Enter” button. Several seconds later, you will be able to find the target file in the specified location.
If you want to learn more information about the command line application, you can visit the homepage of it via clicking here.