New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

impossible to create or read a key's default value #3

Closed
rafipiccolo opened this Issue Mar 10, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@rafipiccolo

rafipiccolo commented Mar 10, 2015

hello, nice code but i can't use it for default values.

every key has a default value in the windows registry
but i can't see it with the list method
nor setting it with puvalue

regedit.list('HKCR\\Directory\\shell\openShell\\command', console.log);

// or 

regedit.putValue({
    'HKCR\\Directory\\shell\openShell\\command': {
        'default': { value 'test', type: 'REG_SZ'}
    }
}, console.log)

i tried "default" / "@" / ...
it always creates me another key instead of setting the default one.

the same with .reg file would be :
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\openShell\command]
@="test"

@kessler

This comment has been minimized.

Show comment
Hide comment
@kessler

kessler Mar 13, 2015

Member

Thanks for reporting this, I'll look into it and get back to you asap...

Member

kessler commented Mar 13, 2015

Thanks for reporting this, I'll look into it and get back to you asap...

@rafipiccolo

This comment has been minimized.

Show comment
Hide comment
@rafipiccolo

rafipiccolo Mar 13, 2015

nice :) i don't understand a thing in win32 api but i'll be glad to test it in my application when you need it

rafipiccolo commented Mar 13, 2015

nice :) i don't understand a thing in win32 api but i'll be glad to test it in my application when you need it

@rafipiccolo rafipiccolo reopened this Mar 13, 2015

@kessler kessler closed this in 50c8b78 Mar 14, 2015

@rafipiccolo

This comment has been minimized.

Show comment
Hide comment
@rafipiccolo

rafipiccolo Mar 14, 2015

thanks ! now it works for me

rafipiccolo commented Mar 14, 2015

thanks ! now it works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment