Command Line Execution
Previous  Top  Next

The TEXTfromPDF conversion functionality can be also accessed via the DOS command line. This allows for integration with batch file and script execution.

The console application is called TFPConsole.exe and is located in the same folder as the TEXTfromPDF application.

Syntax:

TFPConsole PDFFileOrFolder [TextFileOrFolder]  

Where:

PDFFileOrFolder = Path to PDF document or folder.  
TextFileOrFolder = Path to text file or folder. (Optional)  

Notes:

1) All paths must be enclosed in double-quotation marks.  
2) Folders must be terminated with a backslash.  
3) Separate PDF and Text paths with a space.  
4) Use TEXTfromPDF application interface to set desired options.  
5) Use TEXTfromPDF application interface for error information.  

Examples:

> TFPConsole "C:\mydoc.pdf"  
> TFPConsole "C:\mydoc.pdf" "C:\mydoc.txt"  
> TFPConsole "C:\mydoc.pdf" "C:\Text Files\"  
> TFPConsole "C:\My Documents\" "C:\Text Files\"