New
#1
Setting Notepad++ as default text editor requires changing a reg key
I'm trying to set the permissions of a registry key from the command line. Easy to do in regedit, but this is all part of a system customization script.
The command line is;
regini -h HKEY_CURRENT_USER\software\microsoft\windows\currentversion\explorer\fileexts\.txt\userchoice [1 5 7] test.txt
But it fails with;
REGINI: Failed to load from file '5' (3)
[1 5 7] are the permissions I'm trying to set, and test.txt contains;
ProgID = REG_SZ Applications\notepad++.exe
(Key name, type and the value I'm trying to set)
Windows 10 1809; Regini /? for help.
What am I doing wrong?