Wednesday, 12 April 2017

How to open regedit folder name with special character

I need help about regedit node js.

I try

regedit.list(["HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\**nbi-nb-base-8.0.2.0.201411181905**"])
            .on('data', function (entry) {
             console.log(entry);   
})

It's not work. It cannot open that path, I think because folder name "nbi-nb-base-8.0.2.0.201411181905" has special character.

I try to add bracket , quote, example : {folder_name} or "folder_name" or "{folder_name}". It's also not work.



via item mylife

No comments:

Post a Comment