https://bugs.documentfoundation.org/show_bug.cgi?id=48413
Mike Kaganski <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|: Command line bulk |Windows: Command line bulk
|conversion from doc to odf |conversion including
|not working |wildcards (*?) not working
Version|3.5.1 release |Inherited From OOo
Severity|normal |enhancement
Keywords| |difficultyBeginner,
| |easyHack, skillCpp
Hardware|x86-64 (AMD64) |All
--- Comment #14 from Mike Kaganski <[email protected]> ---
This Windows-only enhancement needs LibreOffice to implement own wildcard
matching when pre-processing the passed command line on Windows. Unlike *nix
environment, On Windows there's no shell pre-processing that the resulting
command line that LibreOffice gets is already expanded.
For now, tricks like
> for %%f in ("input folder\*.sxd") do "C:\Program
> Files\LibreOffice\program\soffice.exe" --convert-to png --outdir "output
> folder" "%%f"
are needed (the example above is for batch files; if using in console, %%
should be replaced into %; see e.g. [1]).
Code pointer: the command line handling happens in
desktop/source/app/cmdlineargs.cxx. It must be Windows-only, since on other
platforms, the file path is an arbitrary byte sequence, which itself may
include bytes like '*' or '?' (different flavors of FS may apply own
restrictions).
[1] https://ask.libreoffice.org/en/question/86800
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs