use powershell.exe to run a script with space in its path
If you run into a situation whereby you need to execute a powershell script that has a space in it using powershell.exe. just add a -File parameter in there. Otherwise you will get error message and putting quotes in between the "xxx.ps1" script won't work.
Example is shown below :-
%SYSTEMROOT%\system32\WindowsPowerShell\v1.0\powershell.exe -File "%APP%deployControlService.ps1" -projectPath "%~dp0"