In this article, I will show you a method to convert Office 2010 and Office 2007 xlsx to pdf and set pdf keywords within one process with DOC to Any Converter Command Line.
Firstly, please click the link below to download a zip file: https://www.verydoc.com/doc2any_cmd.zip, then you should unzip it to your computer so that the folder “doc2any_cmd” can be in your computer, where “doc2any.exe” can be called later.
Then, you need to open the command prompt window in your computer, for it is the running environment of DOC to Any Converter Command Line in Windows platforms. And you can follow the steps below to open it: click “start” to get its menu on your screen, then please hit “Run” on this menu, and input “cmd.exe” into dialog box of “Run”, and click “ok”, then there will be a window popped on your screen like below:
Then, please refer to the following example to convert Office 2007 and Office 2010 xlsx to pdf and set pdf keywords, whose premise is the source file is in the same folder with “doc2any.exe”:
C:\Documents and Settings\admin>d:<enter>
D:\>cd doc2any_cmd<enter>
D:\doc2any_cmd>doc2any –keywords “ms office” example2.xlsx example2.pdf<enter>
thereinto:
- d:<enter> stands for accessing to d disc containing “doc2any.exe” with one essential click on “enter” button that is marked by “<>”
- cd doc2any_cmd<enter> is to change current directory (cd), and enter folder “doc2any_cmd” with one click on “enter”
- doc2any is typed for call “doc2any.exe” to start to run DOC to Any Converter Command Line
- –keywords “ms office” is inputted for editing keywords of pdf as “ms office”, which needs to be string based on this original mode “-keywords <string>”
- example2.xlsx is used to add source file with filename and file extension
- example2.pdf is typed for naming this pdf file and saving this pdf file in folder “doc2any_cmd”
- <enter> stands for one essential click on “enter” in command prompt window, which is a signal to produce your pdf file
After all the illustration about this process of Office 2007 and Office 2010 xlsx to pdf and setting pdf keywords, you can visit the homepage of DOC to Any Converter Command Line to know more conversions via this link: https://www.verydoc.com/doc-to-any-options.html.