Some private cloud services like MEGA
and Sync
let you add an entry to the windows explorer navigation pane for easy/quick access to the synchronized folders when installing their desktop clients. Could this be implemented on the future? Like this:
I did this using a python script that does basically this (but wraps the keys into a class):
reg add HKCU\Software\Classes\CLSID\{{guid}} /ve /t REG_SZ /d "{name}" /f
reg add HKCU\Software\Classes\CLSID\{{guid}}\DefaultIcon /ve /t REG_EXPAND_SZ /d {icon} /f
reg add HKCU\Software\Classes\CLSID\{{guid}} /v System.IsPinnedToNameSpaceTree /t REG_DWORD /d 0x1 /f
reg add HKCU\Software\Classes\CLSID\{{guid}} /v SortOrderIndex /t REG_DWORD /d 0x42 /f
reg add HKCU\Software\Classes\CLSID\{{guid}}\InProcServer32 /ve /t REG_EXPAND_SZ /d %%systemroot%%\system32\shell32.dll /f
reg add HKCU\Software\Classes\CLSID\{{guid}}\Instance /v CLSID /t REG_SZ /d {0E5AAE11-A475-4c5b-AB00-C66DE400274E} /f
reg add HKCU\Software\Classes\CLSID\{{guid}}\Instance\InitPropertyBag /v Attributes /t REG_DWORD /d 0x11 /f
reg add HKCU\Software\Classes\CLSID\{{guid}}\Instance\InitPropertyBag /v TargetFolderPath /t REG_EXPAND_SZ /d "{folder}" /f
reg add HKCU\Software\Classes\CLSID\{{guid}}\ShellFolder /v FolderValueFlags /t REG_DWORD /d 0x28 /f
reg add HKCU\Software\Classes\CLSID\{{guid}}\ShellFolder /v Attributes /t REG_DWORD /d 0xF080004D /f
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{{guid}} /ve /t REG_SZ /d "{name}" /f
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel /v {{guid}} /t REG_DWORD /d 0x1 /f
Replace {guid}
by any unique uuid, {name}
with āSeafileā, {icon}
by "C:\Program Files (x86)\Seafile\bin\seafile-applet.exe,-2"
and {folder}
by the folder where you have your local libraries (or āwktreeā as defined on config.db
).