in reply to running files from other directories

What's your OS? In Unix,

% /path/to/pdftohtml file.pdf
is usually sufficient. If you're trying to do this from within a script, then
system '/path/to/pdftohmtl', 'file.pdf' and die "$?\n";

the lowliest monk