Hey ,
generateprojectfiles.bat file is in your Unreal Engine folder when you download from GitHub, and is part of building engine from source. If you’re using Binary version (from Launcher), you won’t need to follow this process. If you’re getting same error, please and attach your log so we can see what might be causing it for you.