When I try to export an Org mode document to OpenOffice Document format, I get the following error:
This answer suggested to use 7zip. So I
- installed 7zip,
- copied
7z.exe
and renamed the copy tozip.exe
, and - added the path of 7zip (
C:\Program Files\7-Zip
) toexec-path
(viaM-x customize-variable RET exec-path RET
).
But when I try to export my Org mode file to ODT with this setup, I get an error Incorrect command line
, probably because 7zip uses different command line arguments than the zip
program Org mode expects.
How can I fix this?
zip
instead of7zip
? Renaming a program from "orange" to "banana" does not make the program a "banana"; i.e., it is an "orange" disguised as a "banana" and your computer knows it and that is why it is saying "Error: Incorrect command line".zip
for Windows? Cygwin?