|
|
楼主 |
发表于 2022-3-9 15:27:15
|
显示全部楼层
回复 4# Batcher
成功过一次,之后双击bat一直没反应了,报错依次如下:
1.当我放到文件所在文件夹
'pdftk' is not recognized as an internal or external command,
operable program or batch file.
2.当我放到C盘PDFTK的目录下
Error: Failed to open PDF file:
DIN 16965-1-1982.pdf
OWNER PASSWORD REQUIRED, but not given (or incorrect)
Error: Failed to open PDF file:
DIN 16965-2-1982.pdf
OWNER PASSWORD REQUIRED, but not given (or incorrect)
Error: Failed to open PDF file:
DIN 16965-4-1982.pdf
OWNER PASSWORD REQUIRED, but not given (or incorrect)
Error: Failed to open PDF file:
DIN 16965-5-1982.pdf
OWNER PASSWORD REQUIRED, but not given (or incorrect)
Errors encountered. No output created.
Done. Input errors, so no output created.
3.当我使用带有中文的文件名(我们必须使用英文系统)
Error: Unable to find file.
Error: Failed to open PDF file:
DIN 16965-1-1982 一二三四.pdf
Error: Unable to find file.
Error: Failed to open PDF file:
DIN 16965-2-1982 一二三四.pdf
Error: Unable to find file.
Error: Failed to open PDF file:
DIN 16965-4-1982 一二三四.pdf
Error: Unable to find file.
Error: Failed to open PDF file:
DIN 16965-5-1982 一二三四.pdf
Errors encountered. No output created.
Done. Input errors, so no output created.
请问有没有更好的方法,不局限于bat
我需要将PDF\DOC\DOCX\XLS\XLSX\XLSM\MSG\TXT\PNG\JPG等按照文件名排序批量合并,如果只有单个文件,就相当于一键打印。其中MSG是outlook的邮件。 |
|