Hi I am using this code to merge files but it is not working. It is creating two separate result.pdf files with each the required pdfs without joining them.
Shell("C:\Program Files (x86)\PDF24\pdf24-DocTool.exe -outputFile ""N:\France\NewProg\ia\iba\result.pdf"" -File1 ""N:\France\NewProg\ia\iba\F 00777 2019 - 1ere partie_1.pdf"" -File2 ""N:\France\NewProg\ia\iba\F 00777 2019 - 2e partie_1.pdf"" ")
do you have any solution ?
update : I was able to make the code work during one of my tests I hhad an removed the -join command.
But I still have another problem since I can't applyProfile or else the command stops working. Can someone show me code that actually works ?
The applyProfile is an own command for the docTool and can not be combined with the join command. To set a profile for the join command you have to use the -profile switch on the command line. The join command uses this argument to set the profile.