That’s a message from the Windows batch file processor. If the batch file has a “@echo off” at the top of it, change it to “rem @echo off” and run it again, and see if you can get a clue. Show the output here.
I guess we should see the output of “set”, and just to be certain, the first ~25 lines of your “gradlew.bat” file. It’s obvious that the “bin” of the Gradle distribution isn’t in your PATH, but that wouldn’t cause this particular problem.
We need to see the output of “set” (you might want to review this and obscure anything of a secure nature), and the first 25 lines of your “gradlew.bat” file.