As the error message suggests, it's attempting to execute a command named "files", so you could try a backslash (presuming the exe is in a subdirectory "files" — otherwise, what's the files/ supposed to be doing?)
system ("files\\pdftotext.exe -nopgbrk -q \"$file\"" ); ^
Not all components of Windows handle forward slashes and backslashes equivalently...
In reply to Re^3: System path
by Eliya
in thread System path
by welle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |