File save to a directory programmatically

I need to save the output of a mail merge operation to a specific directory EG “C:/temp/” programmatically.
I have not been able to find any documentation on this.
We have been using your product for at least 2 years and I am new here trying to make the operation more user friendly.
Thanks in advance for your help.

This message was posted using Page2Forum from Technical Tips - Aspose.Words for .NET and Java

Thanks for your inquiry. You should just put full path into the Save method. See the following code.
Best regards.

Thank you but I read that.
This is my command line :

doc.Save(fileNameMerge, Aspose.Words.SaveFormat.FormatDocument, Aspose.Words.SaveType.OpenInWord, this.Response);

In FileNameMerge is the following “c:\temp\filename.doc”.
It returns an error message that “Filename should not contain path.”
Please advise.
Joe Winkiel

Thank you for additional information. This is impossible. You can’t specify path when you save document to client browser. This is by design of HTTP protocol. When you send a file via HTTP you can just specify file name, then end-user will specify where he (she) would like to save document.
By default this file will be stored in browser’s temporary folder.
Best regards.