The command line silent conversion allows you to run your conversion without the need to open the user interface. This is particularly handy when you need to convert folders with volumes of documents within.
A silent conversion should always be run from a .bat file. The reason being, if the command is called from a batch, a process is created for each file and Windows waits for it to end; if it's called directly, all the processes are concurrent.
If your command script has any occurrences of %g, you will need to replace it with %%g before running your .bat file.
- Create your command line script in a text document and save it to your computer as a .txt file (example, "convert.txt").
- Make sure your folders are set up to view the file extensions:
- Rename that file as a .bat file (example, "convert.bat").
- Double-click on the .bat file to run the conversion.
The cmd prompt should return with "echo 0".
If there is a different code here, something went wrong. See a list of error codes here.
Here is a sample of a very basic silent conversion script and the one used in the video above:
"C:\Program Files (x86)\CogniView\PDF2XL\PDF2XL.exe" -input="C:\Users\colle_000\Desktop\cliconvert\convert.pdf" -layout="C:\Users\colle_000\Desktop\cliconvert\convert.layoutx" -format=excelfile -range="all" -output="C:\Users\colle_000\Desktop\cliconvert\convert.xls" -noui
Of course, you would need to modify the paths in this script so they are relative to your document and folders.
This can also be run directly from the Command Line.
To see the available commands, click here.