The two ways to convert rtf to xps with DOC to Any Converter Command Line

DOC to Any Converter Command Line is very flexible, which could be based on the command line to help users convert files formats, such as xls to jpg and pptx to xps etc. with different ways. Also it supports to set up the properties of targeting file, and process the task in batches, which is very easy for users to operate. This article is to illustrate how to use this tool to convert rtf to xps with 2 different ways.

WAY1.

First, please run the operating environment of this tool: click “Windows+R” hotkey>a dialog box is popup>input “cmd”>click “ok” button, then you will see the command prompt window could be shown, and below is the current directory in it:

C:\Documents and Settings\admin>

Second, drag ‘doc2any.exe’ into the command prompt window to run DOC to Any Converter Command Line, below is the example:

C:\Documents and Settings\admin>D:\doc2any_cmd\doc2any.exe<space>

At last, drag the source file into the command prompt window to add the source path, and then input the objective path directly, after the complete of preparing job, please click “enter” button to process the task, here is the example below:

D:\doc2any_cmd\doc2any.exe<space>E:\bvn\my.rtf<space>F:\out\my.xps<enter>

Along with the display of “Result=1”, it is successful to convert rtf to xps.

But what should we do when we need to set up the properties of xps file? Here is the solution below, please refer to it:

C:\Documents and Settings\admin>D:\doc2any_cmd\doc2any.exe<space>

<options><space>E:\bvn\my.rtf<space>F:\out\my.xps<enter>

according the example above, <options> represent the parameter(s), which must be between the path of doc2any.exe and source path, to know more parameters, you could log on the main page of DOC to Any Converter Command Line.

And to convert rtf files to xps files in batches, you could use ‘*’ to take the place of all file names, if you are confused, please refer to the following example:

C:\Documents and Settings\admin>D:\doc2any_cmd\doc2any.exe<space>

<options><space>E:\bvn\*. rtf<space>F:\out\*.xps<enter>

after the conversion of the example above, all of rtf files in ‘bvn’ folder could be converted into xps files added into ‘out’ folder.

WAY2.

To avoid inputting the complex path of doc2any.exe, you could first enter into the main disk that contain doc2any.exe, then access to the folder containing doc2any.exe, then use the tool, and add source file, targeting path to convert the file(s), no matter it is the conversion to get multiple pages xps or the conversion to get single page xps files from each page of rtf file, more info, please refer the following examples:

C:\Documents and Settings\admin>D:<enter>

D:\>cd<space>D:\doc2any_cmd<enter>

D:\doc2any_cmd\>doc2any<space><options><space>my.rtf<space>my.xps<enter>

***                                                         ***                                                                  ***

C:\Documents and Settings\admin>D:<enter>

D:\>cd<space>D:\doc2any_cmd<enter>

D:\doc2any_cmd\>doc2any<space><options><space>my.rtf<space>my%.xps<enter>

to add ‘%’ following the objective file name is the key point to get single page xps files from each page of rtf file, which is suitable for WAY1.

If you think DOC to Any Converter Command Line is very interesting, please click this link to try it: https://www.verydoc.com/doc2any_cmd.zip. And to know more about it, please click this link: https://www.verydoc.com/doc-to-any-options.html, it is the end to turn rtf to xps with DOC to Any Converter Command Line.

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!