Adding "Right-Click to Open Folder in Browser View" Feature via Registry Key
Posted: Thu Jul 25, 2024 7:28 am
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.
I hope this feature can be integrated into future installation wizards.
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\XnView]
@="Open folder with XnView"
"icon"="\"C:\\Program Files\\XnViewMP\\xnviewmp.exe\""
[HKEY_CLASSES_ROOT\Directory\shell\XnView\command]
@="\"C:\\Program Files\\XnViewMP\\xnviewmp.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\XnView]
@="Open folder with XnView"
"icon"="\"C:\\Program Files\\XnViewMP\\xnviewmp.exe\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\XnView\command]
@="\"C:\\Program Files\\XnViewMP\\xnviewmp.exe\" \"%V\""