Announcement
Collapse
No announcement yet.
Windows, PdfToText.exe + sort
Collapse
X
-
Hello,
The command line you are attempting on Windows does not look like a valid Windows command line. You can test external to BC4 using the Windows command prompt, and a literal file name input.pdf for the source, and temp.txt for the output, to see if it can generate results.
I was able to make a pdfsort.bat file, which contained:
"c:\program files\beyond compare 4\PdfToText.exe" %1 %2
sort %2 /o %2
And testing on the command line. Then set the External Conversion in BC4 to:
pdfsort.bat %s %t
Disable Editing enabled.
Leave a comment:
-
Windows, PdfToText.exe + sort
Hello,
I want to open PDF and convert it to sorted lines. Otherwise it will show false positives when rows are in wrong order.
I was able to sort my PDF convert text in Linux with this:
Code:pdftotext %s - |sort > %t
I was not able to do the same in Windows.
I think this should work, but no:
Code:PdfToText.exe%s - |sort > %t
Tags: None
Leave a comment: