Hi,
Thank you for sharing this “gotcha”. Just to add that:
The path for the executable itself, Windows Command Prompt does force me to put the entire path in double quotes. Otherwise, it won’t run. If I pass the full path of the JavaScript file argument within double quotes, as you mentioned, doesn’t process the file. But it doesn’t show any error messages on the Windows Command Prompt.
For exmaple, if running from the same directory as the AfterFx.exe:
C:\>Program Files\Adobe\Adobe After Effects CC\Support Files\AfterFX.exe -r C:\testJavaScript.jsx // <– this works
————
C:\>”\Program Files\Adobe\Adobe After Effects CC\Support Files\AfterFX.exe” -r C:\palette_dialog.jsx // <– this works too. And the path/executable NEEDS to be in quotes
——–
Cheers.