How to run powershell script in A360 where file path has space ? eg: C:\Program Files\My PwScript\test.ps1 Thanks, Chandrasekar.
How to run powershell script in A360 where file path has space ? eg: C:\Program Files\My PwScript\test.ps1 Thanks, Chandrasekar.
"C:\Program Files\My PwScript\test.ps1"
You can use a bat file with the following :
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "C:\Program Files\My PwScript\test.ps1"
and then run the bat file with Open/Program action.
Regards
![Collaborator Badge](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/eeb1807e-43ef-49be-9d57-ee7e35651ddc_thumb.png)
Pass the file path in double quotes
Test comment: You can rename the folder name to have an underscore instead of space
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.