there is a cmd file with this snippet:
Code: Select all
@echo == Ranorex-Projekt an Agenten ausrollen == Ranorex-AAK-Simple-Sample.exe /agent:RanorexAgent_OUP2 /pa:AAK_Client_exe="C:\Program Files (x86)\aak\Kompakt.Client.exe" if %errorlevel% neq 0 exit /b %errorlevel%
How to set the global parameter with that path including blank chars correkt: C:\Program Files (x86)\aak\Kompakt.Client.exe
Within the exe the global param AAK_Client_exe is still on default value and not overwritten by this batch entry.
Playing direct on the dos box trying out some ideas, i see it one time running correct. This shows me, that within the project exe the global parameter is coded right. But transfering the line to the batch file there might be some extra stuff to get the quotes into the exe handed over.
Any idea to solve this?