win2pdfd.exe extracttext "sourcefile" "destfile" formatting
Extract text from “sourcefile”, and save to text file “destfile”. If “formatting” is “1”, the destination text file is formatted similarly to the PDF. If “formatting” is “0”, the text file is unformatted.
Any file names that contain spaces must be enclosed with quotation marks. The "sourcefile" can be a local file path, or an web address (URL) to an existing PDF.
Requires a licensed version of Win2PDF. Contact email@example.com for a time limited evaluation license.
Returns 0 on success, and a Windows system error code on failure.