0

How do I add items to Windows Explorer right-click context menu called New?

1

3 Answers 3

1

On Windows XP it appears they are registry entries. On my machine it's all listed under

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\ShellNew
1
  • That key also exists on Windows7, so I'm guessing it'll be good on Vista too.
    – KdgDev
    Nov 6, 2009 at 0:37
0

Sample using ".sql" files.

  1. Start -> Run
  2. %userprofile%\Templates
  3. Copy NewProc.sql
  4. Edit the registry

[HKEY_CLASSES_ROOT.sql\ShellNew] Value Name = FileName Value Data = NewProc.sql

Seems kinda kludgy and to only support one new item per file type, so I'm on the lookout for a better answer.

0

I don't know if this anyone still needs this but you can add stuff to the new menu like this: start cmd as admin type the command reg ADD HKEY_CLASSES_ROOT\<extension name>\ShellNew and than use reg ADD HKEY_CLASSES_ROOT\<extension name>\ShellNew /v NullFile /t REG_SZ /d 1 Note that the must have a ". in front of it e.g. .txt or .bat etc. Hope this helps. If it doesn't help, you can also look here: https://www.makeuseof.com/windows-10-create-new-add-items/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .