Archive: Create a context menu enhancement on files


Create a context menu enhancement on files
Hi,

right now I enhance the context menu (right click) on drives and folders like that:


WriteRegStr HKCR "Directory\shell\${APPBINARYNAME}" "" "$(SHELLEXT_ADD)"
WriteRegStr HKCR "Directory\shell\${APPBINARYNAME}\command" "" '$INSTDIR\${APPBINARYNAME}.exe -p "%1"'
WriteRegStr HKCR "Directory\shell\${APPBINARYNAME}" "Icon" "$INSTDIR\${APPBINARYNAME}.exe"
WriteRegStr HKCR "Drive\shell\${APPBINARYNAME}" "" "$(SHELLEXT_ADD)"
WriteRegStr HKCR "Drive\shell\${APPBINARYNAME}\command" "" '$INSTDIR\${APPBINARYNAME}.exe -p "%1"'
WriteRegStr HKCR "Drive\shell\${APPBINARYNAME}" "Icon" "$INSTDIR\${APPBINARYNAME}.exe"


Now I want to add a similar enhancement (launch programm executable with the right-clicked-filename as parameter) for ALL filetypes. Any idea what the key under HKCR is used for all files?

HCKR\* , judging from my own registry.