To reproduce the bug, create a new file association like this:
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.php]
@="PHP4"
[HKEY_CLASSES_ROOT\.php4]
@="PHP4"
[HKEY_CLASSES_ROOT\PHP4]
@="PHP4 Script"
[HKEY_CLASSES_ROOT\PHP4\Shell]
@="run"
[HKEY_CLASSES_ROOT\PHP4\Shell\edit]
@="&Edit"
[HKEY_CLASSES_ROOT\PHP4\Shell\edit\command]
@="notepad.exe \"%1\""
[HKEY_CLASSES_ROOT\PHP4\Shell\run]
@="&Run"
[HKEY_CLASSES_ROOT\PHP4\Shell\run\command]
@="php.exe \"%1\""
Select a .php file in Total Commander and open "Associate with...". File will appear as not associated with any program. "PHP Script" will not appear in the list.
Now add this:
Code: Select all
[HKEY_CLASSES_ROOT\PHP4\Shell\open]
@="&Open"
[HKEY_CLASSES_ROOT\PHP4\Shell\open\command]
@="notepad.exe \"%1\""