pdf24-DocTool.exe ignores -outputFile and saves to the auto-save folder

Home › Forums › PDF24 Creator › pdf24-DocTool.exe ignores -outputFile and saves to the auto-save folder

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #60288
    dornj84
    Participant

    No matter how I specify the outputDir or outputFile I cannot seem to override the default autosave path for the pdf.

    What all is necessary for a command, assuming a default PDF24 installation, to specify the pdf output file name and path?

    #66019
    PDF24 Support
    Moderator

    Hello,

    sorry for the late reply. -outputFile and -outputDir only apply together with a command such as -convertToPDF. Without a command, the DocTool only converts the file and hands the result on, to the PDF24 Assistant or, if your PDF printer saves automatically, to its auto-save folder. This is probably what happened.

    With the current version, this saves the PDF under the given name:

    "C:\Program Files\PDF24\pdf24-DocTool.exe" -convertToPDF -profile default/good -outputFile "C:\Output\name.pdf" "C:\Input\document.docx"

    With -outputDir "C:\Output" instead of -outputFile, the PDF is saved in this folder under the name of the input file. Since version 11.31.0, -silent also suppresses all dialogs for unattended use; then -outputFile or -outputDir and a profile are required.

    All options: https://creator.pdf24.org/manual/11/#1111-general-format-and-options and https://creator.pdf24.org/manual/11/#11110-convert-to-pdf

    If the file still ends up in the auto-save folder with such a command in the current version, please post the exact command line.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.