kessler / node-regedit

Read, Write, List and do all sorts of funky stuff to the windows registry using node.js and windows script host
MIT License
279 stars 45 forks source link

Cannot open regedit folder name with special character #22

Closed orancezii closed 7 years ago

orancezii commented 7 years ago

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 working. Can anyone give me a suggestion please?

orancezii commented 7 years ago

Please help

kessler commented 7 years ago

@orancezii sorry for the delayed response. Currently very busy. Will make for this in the close weekend

nhz-io commented 7 years ago

Cannot reproduce

There is nothing special about nbi-nb-base-8.0.2.0.201411181905 The test passes. See commit: 79cc6e5