I am running an outside exec through the word macro using Shell command but the argument of the executable requires two % signs (%%) which seems to cause a problem with the Shell command. When I execute the following from command line directly it works:
gswin64c.exe -o output%%02.png input.pdf
and it produces the correct output of png files (output01.png, output02.png, output03.png etc)...
but when I do this
Shell("gswin64c.exe -o output%%02.png input.pdf")
this produces a single file named output%02.png -- not the expected behaviour like above... I am assuming it's the %% sign that's causing the problem.
How should I correctly pass the %% sign in the Shell command?
Many thanks, in advance!