Xojo and PdfCreator Save file

With the command
Dim sh As New Shell
sh.Execute(""“C:\Program Files\PDFCreator\PDFCreator.exe”" /PrintFile="“C:\Temp\MioFile.doc”"")
I open doc file and turned it into pdf
I can not find the command line to save the file in a specific directory
I use the latest version of PdfCreator

[quote=168790:@Massimo Lista]With the command
Dim sh As New Shell
sh.Execute(""“C:\Program Files\PDFCreator\PDFCreator.exe”" /PrintFile="“C:\Temp\MioFile.doc”"")
I open doc file and turned it into pdf
I can not find the command line to save the file in a specific directory
I use the latest version of PdfCreator[/quote]

Why do you start a new thread when you already received a lot of help in https://forum.xojo.com/19961-shell-command-with-pdfcreator ? Look there for my solution.

I opened a new thread , because the topic is different.
With Autosave I manage the output from the control panel of pdfcreator but I would like to manage it via a command schell and I did not understand how to do

Looks like you dont have many choices
http://www.pdfforge.org/pdfcreator/manual/command-line-parameters

I’d experiment and see if it creates the PDF next to the original document OR in the current working directory
You may ned up creating the PDF and then moving it to where you want it to go
Seems you dont have a lot of choices

With autosave saves the pdf file in the directory that you have preset.
You can create different profiles but I do not see how you can use your choice via code.
However, the solution proposed by you seems to me a good idea even if winding
Thanks Norton

Excuse
Thanks Norman