Skip to content
⌘ NSIS Forum Archive

WriteRegStr Problem/Question

4 posts

Yathosho#

WriteRegStr Problem/Question

i'm using this line

WriteRegStr HKCR "htmlfile\shell\open\command" "(Default)" '"$R0" -nohome'

which creates an additional sub_key (Default). when i delete the old one, the new one does not work. is there a possibility to overwrite the old sub_key?
kichik#
Use:

WriteRegStr HKCR "htmlfile\shell\open\command" "" '"$R0" -nohome'

An empty string means default in this case.