How to use system.callSystem in extendscript?
I'm trying to undertand if/how I can open an external program from After Effects by using extendscript to send a command through the cmd line (system.callSystem), but can't work it out...
For example, to open a version of Premiere Pro from command line I can use the direct path:
cd C:\Program Files\Adobe\Adobe Premiere Pro CC 2019\ && "Adobe Premiere Pro.exe"
But when I try that in extendscript via system.callSystem() it doesn't work:
system.callSystem("cmd.exe /c \"cd C:\Program Files\Adobe\Adobe Premiere Pro CC 2019\ && "Adobe Premiere Pro.exe"\"");
How do I pass paths and commands to cmd correctly?