Talk:Windows Shell Extension: Difference between revisions

m
no edit summary
(indeed, no red button "easy" for modding ^_-)
 
mNo edit summary
Line 7: Line 7:


* Adding a Key to '''HKEY_CLASSES_ROOT\Software\Classes''' will add a key in '''HKEY_LOCAL_MACHINE\SOFTWARE\Classes''' and vice versa.
* Adding a Key to '''HKEY_CLASSES_ROOT\Software\Classes''' will add a key in '''HKEY_LOCAL_MACHINE\SOFTWARE\Classes''' and vice versa.


====Minimum requirements for new file types====
====Minimum requirements for new file types====
Line 13: Line 14:
** creating this manually gives a REG_SZ type, which will not work and cannot be changed within the regedit GUI
** creating this manually gives a REG_SZ type, which will not work and cannot be changed within the regedit GUI
** REG_EXPAND_SZ type can be created with reg files and '''programmatically'''
** REG_EXPAND_SZ type can be created with reg files and '''programmatically'''


====Mind already existing alternate hierarchies====
====Mind already existing alternate hierarchies====
* '''HKEY_CLASSES_ROOT\.[yourExt]
* '''HKEY_CLASSES_ROOT\.[yourExt]
If not empty, this key might have data such as '''<span style="color:red">ext</span>file''' which will point to '''HKEY_CLASSES_ROOT\.[<span style="color:red">ext</span>file]'''
If not empty, this key might have data such as '''<span style="color:red">ext</span>file''' which will point to '''HKEY_CLASSES_ROOT\[<span style="color:red">ext</span>file]'''


The second key then looks like this in full length:
The second key then looks like this in full length:
* '''HKEY_CLASSES_ROOT\extfile\shell\open\command'''
* '''HKEY_CLASSES_ROOT\<span style="color:red">ext</span>file\shell\open\command'''
 
Such structures sometimes get automatically created:


Such structure get sometimes created automatically:
* '''HKEY_CLASSES_ROOT\<span style="color:red">ext</span>_auto_file\shell\open\command'''


* '''HKEY_CLASSES_ROOT\ext_auto_file\shell\open\command'''
<!-- test
%SystemRoot%\system32\NOTEPAD.EXE %1-->




====User overrides====
====User overrides====
The following will override HKEY_LOCAL_MACHINE keys as the HKEY_CURRENT_USER has a higher priority.
So, you can also think of HKEY_LOCAL_MACHINE keys as a fallback when HKEY_CURRENT_USER are removed again.
  Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.yourExt
  Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.yourExt
   OpenWithList
   OpenWithList
   OpenWithProgids
   OpenWithProgids


====System overrides (backups ?)====
====System overrides (backups ?)====
8,314

edits