Why does the psexec-executed command below fail when I add double quotes to the parameter?
The contents of the .bat file are as follows:
set FILEPATH=%~1
set BAT_ARCHIVE_IDENTIFIER=%~2
set DEPLOYMENT_ROOT=%~3
echo %FILEPATH% %BAT_ARCHIVE_IDENTIFIER% %DEPLOYMENT_ROOT%
psexec -u user -p pass cmd /c "d:\GitRepos\runAll.bat a1 a2 "a3""