running version 9.2.2 on Win7.
I have a .txt file that i want to automate conversion to a pdf file.
i've created a profile named OnPremiseReport and used the following command line;
pdf24-doctool -converttopdf -profile user/OnPremiseReport -outputdir c:\secctrl -outputfile ajh.pdf c:\secctrl\on_premise_2022-07-18_1353.txt
I get File Copy Error 5
From: c:\users\hollma\appdata\local\temp\pdf24\280815356_296430038_0.pdf
To: ajh.pdf
The source file is plain text, UTF8 encoding.
If i use the pdfcreator gui, the conversion works fine.
thanks
Hi, -outputdir and -outputfile can not be used together. If you use -outputfile, then specifiy the full file name here which means the following:
pdf24-doctool -convertToPdf -profile user/OnPremiseReport -outputFile c:\secctrl\ajh.pdf c:\secctrl\on_premise_2022-07-18_1353.txt