Page 1 of 1

pdf search does not work with xd2tx2161

Posted: 10.10.2016, 14:42
by klausisbruch
Hi,
I use the donor version of freecommander to be able to search text in pdf files, I also downloaded the current version of xdoc2txt (v2161) (and the older v150), tried both but I am not able to find anything.

This is my configuration:

Converter tab:
Filter checkbox: checked
*.DOC;*.DOCX;*.RTF;*.HTM;*.HTML;*.PDF;*.XLS;*.XLSX;*.XML;*.PPT;*.PPTX;*.HLP
c:\Z2P\PGMS\PortableApps\FreeCommanderXE-32-donor_portable\TOOLS\xd2tx2161\command\xdoc2txt.exe
"%ConvertSourceFile%" > "%ConvertTargetFile%"

Location tab:
File name: *.pdf
Containing text: klaus

When running a search, it looks as if something is going on for some time, but there are no search results.
I verified the search using the acrobat reader search function.

What is wrong with what I do?
I appreciate any hint.

Thanks, Klaus

Re: pdf search does not work with xd2tx2161

Posted: 10.10.2016, 15:26
by Timon
"%ConvertSourceFile%" >%ConvertTargetFile%

Re: pdf search does not work with xd2tx2161

Posted: 10.10.2016, 20:54
by klausisbruch
Timon wrote:"%ConvertSourceFile%" >%ConvertTargetFile%
Thank you for the fast reply. I removed the double quotes from the second parameter like

"%ConvertSourceFile%" > %ConvertTargetFile%

but that makes no difference.

Any other idea?
Is there a log file perhaps, or some way of investigating what happens and where it goes wrong?

... I also checked the functionality of xdoc2txt.exe, by simply running it from the command line against some pdf file. I saw the text from the pdf in the command window, so that part works.

Thank you a lot.
Klaus

Re: pdf search does not work with xd2tx2161

Posted: 10.10.2016, 21:51
by Karol
"> %ConvertTargetFile%" is not the same as ">%ConvertTargetFile%": space character after >

Re: pdf search does not work with xd2tx2161

Posted: 11.10.2016, 00:06
by klausisbruch
Karol wrote:"> %ConvertTargetFile%" is not the same as ">%ConvertTargetFile%": space character after >
Excellent, that's it. I did not know that this fc command line is that sensitive (I had tried "my" command line including the extra space in a command window).
Thank you very much for the help, and your patience.