Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - Auto merge f1.pdf and f1_cover.pdf
  FAQ FAQ  Forum Search   Register Register  Login Login

Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

Auto merge f1.pdf and f1_cover.pdf

 Post Reply Post Reply
pbhlkv View Drop Down
New Member
New Member

Joined: 08 Aug 2017
Location: Rotterdam
Points: 1
Post Options Post Options   Quote pbhlkv Quote  Post ReplyReply Direct Link To This Post Topic: Auto merge f1.pdf and f1_cover.pdf
    Posted: 08 Aug 2017 at 8:56am
Hi guys,
So I have a folder with hundreds of pdf file couples file1.pdf containing the report and file1_cover.pdf containing the cover page for this pdf. I would like to batch process this folder storing the cover+report as file1.pdf and removing all loose cover files. 
Tough I have come across multiple freeware programs I have not yet found one capable of doing this. All suggestions are welcome.

The closest I have come across is this script for pdf toolkit. Since our experience with coding is close to zero maybe someone has an addition to this code allowing it to be applied to multiple sets and saving it to the original name. 

@echo off
setlocal enabledelayedexpansion
FOR %%A IN (%*) DO (set command=!command! %%A)
pdftk.exe %command% cat output "%~dp1binder.pdf"

Edited by pbhlkv - 08 Aug 2017 at 9:05am
Back to Top
Sponsored Links

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.09
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.031 seconds.