I am using the following Macro that uses filename pipe. But get an error saying invalid option name \"dir\", etc. I suspect it could be due to the quotes while defining file
The filepath Macro variable needs wrapping in double-quotes as it contains spaces. But as your string is double-quoted, you need double-double-quotes...