pdf-merge (Windowsバッチファイル)

複数のPDFをghostscriptを使って結合。

「pdf-merge.bat」

@echo off
echo %* will be merged.

set /p out="Put the output file name: "
echo wait for a while...
rungs.exe -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=%out% %*
pause