0

I am using a scripting language. It doesn't matter what it is, so I'll call it "LOL". For easier scripting, I wanted to add a new entry to ShellNew. I tried to add new entry to registry.

[HKEY_CLASSES_ROOT.lol\ShellNew]

"FileName"="Template.lol"

But it doesnt show up in Shell>New. Yes, I have created the template file in "C:\Windows\ShellNew\"

There is no installation or anything, just saving the file with .lol extension and putting them into a certain directory.

0

There is a \ missing in your registry file:

[HKEY_CLASSES_ROOT\.lol\ShellNew]
                  ^
"FileName"="Template.lol"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.