I really enjoy a feature provided by VSCode, where you can right-click in any window or folder and select "Open in VSCode" to immediately open the folder in a browsing view. I also like using XnView's browser view, but the steps to open this view each time are somewhat cumbersome. Therefore, I wrote a registry configuration file so that I can right-click and browse all images in a folder just like with VSCode.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\XnViewMP]
@="Browse in XnView MP"
"icon"="\"D:\\PROG\\portable\\graphic\\XnViewMP\\xnviewmp.exe\""
[HKEY_CLASSES_ROOT\Directory\shell\XnViewMP\command]
@="\"D:\\PROG\\portable\\graphic\\XnViewMP\\xnviewmp.exe\" \"%1\""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\XnViewMP]
@="Browse in XnView MP"
"icon"="\"D:\\PROG\\portable\\graphic\\XnViewMP\\xnviewmp.exe\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\XnViewMP\command]
@="\"D:\\PROG\\portable\\graphic\\XnViewMP\\xnviewmp.exe\" \"%V\""