在单个命令中使用wkhtmltopdf将html转换为pdf文件

时间:2015-01-09 12:16:10

标签: wkhtmltopdf

我有一些html文件:

1.html,2.html,3.html

我想将其转换为1.pdf,2.pdf和3.pdf

目前我正在使用以下命令将此html文件逐个手动转换为pdf文件:

wkhtmltopdf.exe 1.html 1.pdf
wkhtmltopdf.exe 2.html 2.pdf
wkhtmltopdf.exe 3.html 3.pdf

如何一次性将所有这些html文件转换为pdf。

0 个答案:

没有答案
相关问题