Thanks for the reply, Thomas. I assumed the relative path logic was as you mentioned but the wbexport has an absolute path.
Interestingly, based on the message, I'm wondering if there is some delimiter issue as the message seems to include the entire SQL.
This works fine on my machine - Win10, Workbench build 127.
His is Win11, Workbench build 128.
Here's a partial copy of the statements...
wbexport -type=xlsx
-file="c:\tmp\Hawaii Invoice Summary - Special Request - 2021-10-20.xlsx"
SELECT cono65 /* Company */
, type65 AS CONO /* Invoice Type */
, invn65 AS INVN /* Invoice # */
< more sql >
Error...
The outputfile could not be created: C:\SQLworkBench\"c:\tmp\Hawaii Invoice Summary - Special Request - 2021-10-20.xlsx" SELECT cono65 , type65 AS CONO , invn65 AS INVN , cymdtodate(dtin65) AS INVDATE
<rest of the SQL>