You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to execute an obscure LibreOffice command line from C#. It works fine from the command line, but it always fails when using Medallion.Shell with the parameter '--convert-to' and value 'csv:"Text - txt - csv (StarCalc)":44,34,76,1,-1'.
It's worth noting that the entire argument to --convert-to is wrapped in double quotes in both examples, not just the filter. You seem to have placed the double quotes in wrong places.
(Text - txt - csv (StarCalc) is also mentioned in that page as the filter name used in the APIs for Text CSV.)
Have you tried launching it from another command line prompt? If you do something like cmd /c ""C:\Program Files\LibreOffice\program\soffice.exe" --convert-to csv:"Text - txt - csv (StarCalc)":44,34,76,1,-1 C:\test.xlsx --outdir C:\_temp\" as in this thread, I think it'll also fail.
I need to execute an obscure LibreOffice command line from C#. It works fine from the command line, but it always fails when using Medallion.Shell with the parameter '--convert-to' and value 'csv:"Text - txt - csv (StarCalc)":44,34,76,1,-1'.
"C:\Program Files\LibreOffice\program\soffice.exe" --convert-to csv:"Text - txt - csv (StarCalc)":44,34,76,1,-1 C:\test.xlsx --outdir C:\_temp\
Medallion.Shell code is below but failing.
If I remove
:"Text - txt - csv (StarCalc)":44,34,76,1,-1
it works, but I need those parameters.The text was updated successfully, but these errors were encountered: