Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

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

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

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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