Command Line Error  SOLVED

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-Tools.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
mlachlan01
User
Posts: 5
Joined: Wed Jan 19, 2022 11:27 am

Command Line Error

Post by mlachlan01 »

Whats wrong within this line ?

PDFXTools.exe /RunTool:showui=no;showprog=no splitMergePDF "O:\EXT-TARA\PDF_TEST\vf07.pdf" "O:\EXT-TARA\PDF_TEST\vf06.pdf" /Output:folder="\O:\EXT-TARA\PDF_TEST\";filename="test.pdf";overwrite=yes
After issuing the command a Dialog pops up stating that the file can't be created :
;filename=test.pdf; overwrite=yes\Document.pdf
User avatar
Ovg
User
Posts: 461
Joined: Tue Sep 05, 2017 4:56 pm

Re: Command Line Error

Post by Ovg »

at first, remove \ before o: in "\O:\EXT-TARA\PDF_TEST\" and try again
It's impossible to lead us astray for we don't care even to choose the way.
PDF-XChange PRO, 10.1.1 (Build 381) / W7 SP1 x64
mlachlan01
User
Posts: 5
Joined: Wed Jan 19, 2022 11:27 am

Re: Command Line Error

Post by mlachlan01 »

Thank you for the reply, I deleted the Backslah, but it still tries to append the whole ending to the path adding a file Document.pdf.
File couldnt be created:
C:\Program Files\Tracker Software\PDF Tools\;filename=test.pdf\Dokument.pdf
weird it is ...
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17765
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Command Line Error

Post by Tracker Supp-Stefan »

Hello mlachlan01,

Taken from the manual:
https://help.pdf-xchange.com/pdfxt ... ons_t.html

The syntax should be like this:
/Output:folder=\"D:\PDFs from images\";filename=\"%[Date].pdf\";overwrite=makeuniq;showfiles=no

So please try updating yours with:
/Output:folder=\"O:\EXT-TARA\PDF_TEST\";filename=\"test.pdf"\;overwrite=yes

(You had some of the \ on the wrong side of the ")

Kind regards,
Stefan
mlachlan01
User
Posts: 5
Joined: Wed Jan 19, 2022 11:27 am

Re: Command Line Error

Post by mlachlan01 »

PDFXTools.exe /RunTool:showui=no;showprog=no splitMergePDF "O:\EXT-TARA\PDF_TEST\vf07.pdf" "O:\EXT-TARA\PDF_TEST\vf06.pdf" /Output:folder=\"O:\EXT-TARA\PDF_TEST\";filename=\"test.pdf"\;overwrite=yes

now it's creating a file called : ;overwrite=yes.pdf
:D
mlachlan01
User
Posts: 5
Joined: Wed Jan 19, 2022 11:27 am

Re: Command Line Error

Post by mlachlan01 »

within a folder test.pdf
:lol:
mlachlan01
User
Posts: 5
Joined: Wed Jan 19, 2022 11:27 am

Re: Command Line Error  SOLVED

Post by mlachlan01 »

PDFXTools.exe /RunTool:showui=no;showprog=no splitMergePDF "O:\EXT-TARA\PDF_TEST\vf07.pdf" "O:\EXT-TARA\PDF_TEST\vf06.pdf" /Output:folder=\"O:\EXT-TARA\PDF_TEST\";filename=\"test.pdf\";overwrite=yes

Thats the line which worked finally .
Thank you for your help lads...

Regards
Michael :D
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17765
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Command Line Error

Post by Tracker Supp-Stefan »

Hello mlachlan01,

Apologies - apparently I also had a \ mispositioned!
Glad that you got it working in the end!

Kind regards,
Stefan
Post Reply