I have the problem that I use REG ADD
to call a path that contains a space. When I then run my code, I get the following error:
Syntax Error
Here is my code:
system(("REG ADD HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion /v ProductId /t REG_SZ /d " + uuid + " /f").c_str());