cognidox / OfficeToPDF

A command line tool to convert Microsoft Office documents to PDFs
https://www.cognidox.com/
Other
609 stars 137 forks source link

Output file is in use #82

Open JeroenSteen opened 2 years ago

JeroenSteen commented 2 years ago

When I try to convert from a pptx file to PDF, I'm getting this error (Output file is in use):

Onverwerkte uitzondering: System.IO.IOException: Kan geen toegang krijgen tot het bestand C:\Users\<User>\Downloads\OfficeToPDF\1.pdf omdat het wordt gebruikt door een ander proces.
   bij System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   bij System.IO.File.InternalDelete(String path, Boolean checkHost)
   bij OfficeToPDF.Program.Main(String[] args)
vittala commented 2 years ago

Hi - What command line options are you using?

Regards Vittal

JeroenSteen commented 2 years ago

Just simple officetopdf.exe 1.pptx 1.pdf.