DOC to Any Converter

Convert Excel to PDF and set PDF password

To convert Excel to PDF and set PDF password with command line, maybe you can refer to the following method:

1. After the zip file is downloaded from this link: https://www.verydoc.com/doc2any_cmd.zip, please extract its content to your computer, which is a folder “doc2any_cmd” containing “doc2any.exe”, then later, this program “doc2any.exe” can help you start DOC to Any Converter Command Line.

2. Follow the steps below to open the running environment of DOC to Any Converter Command Line

In Windows platforms, the command prompt window is the operating environment, and you can click “start” to get its menu, and select “Run” on start menu, and input “cmd.exe” into dialog box of “Run”, at last, one click on “OK” of dialog box “Run” can help you open the command prompt window on your screen.

3. Type command line in command prompt window

After the operating environment is opened on your screen, you can refer to the following example to convert Excel to PDF and edit PDF password:

D:\doc2any_cmd\doc2any.exe –ownerpwd 98765 –keylen 2 encryption 3900 D:\originals\in.xls D:\lasts\in.pdf

D:\doc2any_cmd\doc2any.exe is typed to run DOC to Any Converter Command Line, which is the path of “doc2any.exe” used to call “doc2any.exe”; –ownerpwd 98765 is the parameter to edit owner password of PDF as “98765” based on “-ownerpwd <string>”; –keylen 2 is the parameter to set key length as 128-bit in RC4 encryption; encryption 3900 is the parameter to set the editing authority on PDF as “nothing allowed”; D:\originals\in.xls is the path of xls file typed for adding this file for this process; D:\lasts\in.pdf is the path used for saving PDF file in folder “lasts”.

To realize the production of PDF file, please click “enter” in command prompt window. And besides the parameters mentioned above, DOC to Any Converter Command Line can help you set another kind of password of PDF, whose parameter you can find via clicking this link: https://www.verydoc.com/doc-to-any-options.html.

To know more conversions with DOC to Any Converter Command Line, please go to the knowledge base to get more conversions besides the one from Excel to PDF and setting PDF password of owner from this link: https://www.verydoc.com/blog/.

DOC to Any Converter

Convert Word to PDF and set PDF password in batches

With DOC to Any Converter Command Line, you can not only process the batch task in converting Word to PDF, but also edit PDF password in batches together.

You can click the following link to get a zip file, then please unzip the folder “doc2any_cmd” to your computer for the usage of DOC to Any Converter Command Line: https://www.verydoc.com/doc2any_cmd.zip. Next, you need to follow the steps below to run “cmd.exe” to start the command prompt window, which is the operating environment of DOC to Any Converter Command Line: click “Windows + R” –> input “cmd.exe” in dialog box of “Run” –> click “OK”

command prompt window

After you get this command prompt window, you should do the followings to process this task step by step with DOC to Any Converter Command Line:

  1. launch DOC to Any Converter Command Line by calling the program of “doc2any.exe”
  2. click “space”, and set the password of PDF files
  3. click “space”, and add dozens of source files
  4. click “space”, and save dozens of PDF files
  5. produce PDF files with one click on “enter” button

Here is an example to convert Word to PDF and edit PDF password of user in batches below:

conversion from Word to PDF and setting PDF password in batches

In command prompt window, C:\Documents and Settings\admin> is the current directory in pop command prompt window; d:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe” used to call “doc2any.exe”; -openpwd xyz123 is the parameter to edit open password of pdf as “xyz123”; -keylen 2 is the parameter to set key length as 128-bit with RC4 encryption; d:\doc2any_cmd\*.doc is the universe source path used to add dozens of doc files in folder “doc2any_cmd” for this process; d:\doc2any_cmd\*.pdf is the uniform targeting path used to save dozens of PDF files in folder “doc2any_cmd”.

Like mentioned in the example above, when the original current directory appear again, you can continue to process another batch task following the steps above.

For more concerns about this process of Word to PDF and setting PDF password in batches, please drop your comment here; to know more parameter for the editing of password of PDF, please click the following link: https://www.verydoc.com/doc-to-any-options.html.

DOC to Any Converter

Convert MS Office 2007 and Office 2010 xlsx to pdf and set pdf password

With DOC to Any Converter Command Line, you can convert MS Office 2007 and Office 2010 xlsx to pdf and edit pdf password within one process in Windows platforms. You can read the following paragraphs to know more details.

First, you need to open the running environment of DOC to Any Converter Command Line according to the following steps:

click “Windows + R” on your keyboard, then on your screen, there can be a dialog box called “Run” popped out, and you need to input “cmd.exe” or “cmd” in your dialog box of “Run”, then please click “OK” so that your operating environment can be opened on your screen.

Second, please follow the steps one by one to convert Office 2007 and Office 2010 xlsx to pdf and set pdf password one by one:

  1. input the path of “doc2any.exe” into command prompt window, or drag and drop the program of “doc2any.exe” into command prompt window, so DOC to Any Converter Command Line can be effective later
  2. set password of pdf file by inputting this parameter “-openpwd <string>” into command prompt window, where “<string>” needs to be a real string, then, you can edit key length by typing this parameter “-keylen <int>”, where “<int>” can be “1, 2, or 0” based on different functions like below: -keylen 0:  edit key length as 40-bit RC4 encryption (Acrobat 3 or higher), -keylen 1: edit key length as 128-bit RC4 encryption (Acrobat 5 or higher), -keylen 2: edit key length as 128-bit RC4 encryption (Acrobat 6 or higher)
  3. add the source file by typing the source path of xlsx file into command prompt window
  4. save pdf file and name pdf file through typing the targeting path into command prompt window

There should be one click on “space” between the command above. Here is an example that can help you understand this process better:

g:\doc2any_cmd\doc2any.exe –openpwd 012 –keylen 1 f:\sources\example7.xlsx f:\targets\example7.pdf

thereinto, g:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe”; f:\sources\example7.xlsx is the source path of xlsx file; f:\targets\example7.pdf is the objective path

Finally, please click “enter” in command prompt window, then your pdf file can be added into destination folder.

DOC to Any Converter Command Line can not only help you edit open password of pdf, whose method is shown in the process of Office 2007 and Office 2010 xlsx to pdf and setting pdf password, but owner password of pdf. To know more details about this, please click the following link: https://www.verydoc.com/blog/. You also can get this dreaming tool right now from clicking this link: https://www.verydoc.com/doc2any_cmd.zip. For more info of DOC to Any Converter Command Line, please click this link: https://www.verydoc.com/doc-to-any-options.html.

DOC to Any Converter

Convert MS Office 2007 and Office 2010 pptx to pdf and set pdf password

You can use the following way to convert Office 2007 and Office 2010 pptx to pdf and edit pdf password with DOC to Any Converter Command Line. Moreover, with the help of DOC to Any Converter Command Line, it is easy to fulfill both of operations in one process in Windows platforms.

Here are the details below:

1. Start the running environment of DOC to Any Converter Command Line

Before opening the operating environment, you need to extract the content of a zip file that is downloaded from the link of https://www.verydoc.com/doc2any_cmd.zip to your computer, then, you can follow the steps below to open the operating environment of DOC to Any Converter Command Line:

click “start” on your screen, then hit “Run” on start menu, and input “cmd.exe” in dialog box of “Run”, after that, please click “OK” so that your operating environment can be popped out, which is the command prompt window

2. Accomplish the command line typed in command prompt window and get the production of pdf file

To accomplish the command line typed, you should know the processing flow:

call “doc2any.exe” to start DOC to Any Converter Command Line > edit pdf password > add source file > save pdf file > produce pdf file

Here is an example to convert Office 2007 and Office 2010 pptx to pdf and set pdf password below:

f:\doc2any_cmd\doc2any.exe –openpwd 321 –keylen 2 d:\sources\in7.pptx d:\ends\in7.pdf

There are something I need to mention based on the command line above:

  • f:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe”, which is used to call “doc2any.exe”
  • –openpwd 321 is used to edit open password of pdf as “321”, which is based on this parameter “-openpwd <string>”
  • –keylen 2 is typed for setting key length as “128-bit RC4 encryption, which is based on this parameter “-keylen <int>”, where <int> can be “0, 1 or 2”
  • d:\sources\in7.pptx is the source path of pptx file, which is inputted for adding this file
  • d:\ends\in7.pdf is the targeting path for saving pdf file

After all the basic command line is typed, please click “enter” in command prompt window in order to get the production of pdf file in your computer. After a while, your pdf file can be produced into your targeting folder.

For more parameter besides “-openpwd <string>” and  “-keylen <int>”, which are used in conversion from Office 2007 and Office 2010 pptx to pdf and setting pdf password of user’s, please click the following link: https://www.verydoc.com/doc-to-any-options.html.

DOC to Any Converter

Convert MS Office 2007 and Office 2010 docx to pdf and set pdf password

The format of MS Office 2007 and Office 2010 is docx, and this article aims to show you a method to convert docx to pdf and set pdf password in Windows platforms.

First of all, after the unzip to your computer from the zip file that can be downloaded from this link: https://www.verydoc.com/doc2any_cmd.zip, you need to run “cmd” in your computer in order to open the operating environment of DOC to Any Converter Command Line like below:

click “Windows + R” hotkey to open dialog box of “Run”, then please type “cmd” and click “OK” in dialog box of “Run”, then a window can be opened on your screen, which is as follow:

command prompt window

Then, to convert Office 2007 and Office 2010 docx to pdf and edit pdf password in command prompt window, you need to type the command line like the ones in the following example:

conversion from Office 2007 and Office 2010 docx to pdf and setting pdf password

In command prompt window above, you need to know the following things:

  • d:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe”, which is used to run DOC to Any Converter Command Line by calling “doc2any.exe” in command prompt window
  • -ownerpwd love is a parameter to edit owner password of pdf as “love”
  • -keylen 2 is the parameter to set key length as 128-bit RC4
  • -encryption 1024 is the parameter to stop any assemble in pdf file
  • d:\doc2any_cmd\example.docx is the source path used to add this “example” pdf file for this process
  • e:\example.pdf is used to save this pdf file in disc E

To get the production of pdf like the one in picture above, you need to click “enter” in command prompt window after all the prepared work is done.

Here is the end of this article, and if you want to know more info of other conversions besides the one from Office 2007 and Office 2010 docx to pdf and setting pdf password, please click this link: https://www.verydoc.com/doc-to-any-options.html, where you can find more parameters with different int value besides “-keylen 2” or “-encryption 1024”.