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

link|improve this question
Should take this over to superuser.com – squillman Nov 6 '09 at 3:42
feedback

2 Answers

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
link|improve this answer
That key also exists on Windows7, so I'm guessing it'll be good on Vista too. – WebDevHobo Nov 6 '09 at 0:37
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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