Annogen,
With space in path try to put quote :
cd "%GRADLEPATH%"
If it doesn’t works, let’s try something :
open cmd.exe
cd "C:\Users ravi\Documents\Unreal Projects\ProoferVRUE 4.24\Intermediate\Android\APK\gradle\"
rungradle.bat :app:assembleRelease
is build working or is there an error?