Skip to main content
Participant
Jul 21, 2023 12:08 AM UTC
Open for Voting

Can't run script with es.processFile if absolute path to script contains spaces

<fullPathToAMEbinary> --console es.processFile "C:\Hello World\test.js" // doens't work
<fullPathToAMEbinary> --console es.processFile "C:\HelloWorld\test.js" // works

Is there anyway to escape the whitespace in a path?

2 replies

Participant
Jul 27, 2023 12:40 AM UTC

Thank you that solved the issue.

Translate
Adobe Employee
Jul 21, 2023 11:58 AM UTC

Windows command line splits files with spaces into multiple separate parameters when passing it on. Try using double quotes, i.e.

<fullPathToAMEbinary> --console es.processFile ""C:\Hello World\test.js""

This works for me in Windows 11.



Translate