Answer the question
In order to leave comments, you need to log in
Why is the value not being added to the registry?
void Utils::Autoload(string Name , string Path ) {
string command = "REG ADD \"HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run\" /V " + Name + " /t REG_SZ /F /D " + Path;
system(command.c_str());
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question