简体   繁体   English

与文件资源管理器匹配的已知文件夹

[英]KnownFolders that match File Explorer

On the tree view of my File Explorer (formerly Windows Explorer) on Windows 10... I have a number of folders at the root... in my case this includes "Quick access", "DropBox", "OneDrive", "SharePoint", "This PC", and "Network". 在Windows 10上的文件资源管理器(以前为Windows资源管理器)的树形视图上...我的根目录有多个文件夹...就我而言,这包括“快速访问”,“ DropBox”,“ OneDrive”,“ SharePoint”,“此PC”和“网络”。

Is there a KnownFolder that contains these things... or some way to get a list of folders that would match what comes up on the left of the File Explorer? 是否存在包含这些内容的KnownFolder ...或某种方式来获取与文件资源管理器左侧出现的文件夹匹配的文件夹列表?

I don't think there is a known folder for the namespace root used by Explorer, you might have to build the list yourself. 我认为资源管理器使用的名称空间根目录没有已知的文件夹,您可能必须自己构建列表。

Look for CLSID keys with a System.Is.PinnedToNameSpaceTree DWORD value != 0. 查找具有System.Is.PinnedToNameSpaceTree DWORD值!= 0的CLSID密钥。

Identifies whether a shell folder is pinned to the navigation pane. 标识是否将shell文件夹固定到导航窗格。

This article indicates that the SFGAO_NONENUMERATED attribute might also be relevant. 本文指出SFGAO_NONENUMERATED属性也可能是相关的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM