How to run any console command in C++?

Yes, it worked, I was using r.BloomQuality=0 and the terminal was saying that the command was unknown, I thought that the default “Execute Console Command” from ue4 Blueprints did not accept certain commands and so I decided to create a custom function in C++, but I was wrong. Thanks a lot for the help. If you want to know the context of me wanting this is in this topic kkkk: Brute force override rendering settings.