Copy link to clipboard
Copied
I'm having trouble executing a script via command line when there is a whitespace in the path.
For example, this works:
"C:\Program Files\Adobe\Adobe Premiere Pro 2021\Adobe Premiere Pro.exe" /C es.process "C:\Users\kevin\OneDrive\Documents\scripts\hello.jsx"But this does not work:
"C:\Program Files\Adobe\Adobe Premiere Pro 2021\Adobe Premiere Pro.exe" /C es.process "C:\Users\kevin\OneDrive\Documents\my scripts\hello.jsx"^What happens is Premiere Pro launches with no action - just a plain open project screen.
I understand that it is generally bad practice to have a whitespace anywhere in your directory path structure, but with this project, I unfortunately do not have the option to change the names around.
I've tried adding extra escape slashes but this did not work:
"C:\Program Files\Adobe\Adobe Premiere Pro 2021\Adobe Premiere Pro.exe" /C es.process "C:\\Users\\kevin\\OneDrive\\Documents\\my\ scripts\\hello.jsx"And I've also tried both variations of single(' " " ') and double (" ' ' ") quotes, but this also does not work:
"C:\Program Files\Adobe\Adobe Premiere Pro 2021\Adobe Premiere Pro.exe" /C es.process "'C:\Users\kevin\OneDrive\Documents\my scripts\hello.jsx'""C:\Program Files\Adobe\Adobe Premiere Pro 2021\Adobe Premiere Pro.exe" /C es.process '"C:\Users\kevin\OneDrive\Documents\my scripts\hello.jsx"'Any thoughts or ideas I could try? I may be missing something plainly obvious so I'd appreciate anything! Thanks!
Pr Version: 15.1.0 (Premiere Pro 2021)
OS: Windows 10
Seems you need to escape whitespace, what if you try one of those methods?
https://www.howtogeek.com/694949/how-to-escape-spaces-in-file-paths-on-the-windows-command-line/
Copy link to clipboard
Copied
Seems you need to escape whitespace, what if you try one of those methods?
https://www.howtogeek.com/694949/how-to-escape-spaces-in-file-paths-on-the-windows-command-line/
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more