error when creating new c++ project

whn creating my first c++ project i got this error, it doesn’t happen when creating blueprint project though…

An error occurred while trying to generate project files.

Running D:/unreal/UE_5.4/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“G:/uep/MyProject2/MyProject2.uproject” -game -rocket -progress
CreateProc failed: The system cannot find the file specified. (0x00000002)
URL: D:/unreal/UE_5.4/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“G:/uep/MyProject2/MyProject2.uproject” -game -rocket -progress
Couldn’t create process ‘D:/unreal/UE_5.4/Engine/Build/BatchFiles/Build.bat’

I tried :

  • List item

reinstalling unreal engine

verifying files

using another versions on unreal engine (5.3.2, 5.4.4, 5.5.0)

checking if build.bat file was present (it is)