TortoiseCvs 默认查看文件的编辑器为notepad
其使用的是注册表中与Edit菜单相关联的程序,而非Open。

Right-click on desktop icon give Open window with Edit option, but cannot associate Edit with any program.


//z 2012-4-12 17:51:19 PM IS2120@



Right-clicking on desktop icon for html file gives me Open menu where clicking Open calls my web browser, but clicking Edit gives me error message that there is no program associated with that function.  Under Windows XP I could use the Edit option to open my html edit program, but I can't find out how to add that association under Windows 7 for the Edit option.



The "File Types" tab which was present in Windows XP, is discontinued in Windows Vista and Windows 7. To change the "edit" verb setting, you may have to use a third-party tool or edit the registry manually. This is the key where you set the command for "Edit" verb in the registry.



HKEY_CLASSES_ROOT\htmlfile\shell\Edit\command



Using a 3rd party program:



Default Programs Editor - A Useful File Association Editor for Windows 7 and Vista - The Winhelponline Blog



Which editor do you use? Some editors have a built-in option to set/reset itself as the default editor for HTML files.


Default Programs Editor is a very useful tool which helps you to edit file type associations, add or remove AutoPlay handlers and static context menu entries. In Windows Vista and Windows 7, there is no option provided to add or edit context menu entries and static verbs (as in Windows XP’s "File Types" dialog.) Here is where the Default Programs Editor comes in handy.

Features of Default Programs Editor



File Type Settings



    Add, Edit, and Delete context menu items


    Change file type icon & description


    Change an extension’s associated file type



Autoplay Settings



    Add, Edit, and Delete autoplay handlers


    Change which autoplay options are available for any media type


    Change the default autoplay handler



Default Programs Settings



    Add or Remove default associations



//z 2012-4-12 17:51:19 PM IS212