Problem saving docx documents - uncorrect directory

hi, I have a strange problem:
I modify a docx document and when I save it with .save(filename)
the file is saved (correctly) in a temporary directory, but not in the directory i want ( filename is like “D:\Log\myfile.docx”). If I open word (process.start(myfile)) the file is opened correctly, but in d:\Log - opening with explorer - the file is not present, but if I examine the directory from my program using openfiledialog command myfile is in the list. I Have thought to a writepremission problem, but there is not. do you have some ideas about this behaviour?
Thank you

@lore_Verona

Thanks for your inquiry. I am afraid it is quite difficult to suggest you anything without replicating the issue at our end. It seems some system specific issue, please try to check issue on some other machine and share the results. However, if the issue persists then please share your sample code(without compilation error) along with your input/output documents here as ZIP file. We will test the scenario and will guide you accordingly.