在 Windows 10 资源管理器中,如果您显示导航(左)窗格,并且您(通过多种方法之一)选择“显示所有文件夹”,则除“快速访问”节点之外的所有内容都会与一些新内容一起放置在名为“桌面”的新顶级节点下。
这个新的“桌面”节点仅与我的桌面(即背景屏幕的内容)松散地连接:当我在左侧窗格中选择顶级桌面节点时,我的桌面上的内容将与其他内容一起出现在右侧资源管理器窗格中。
具体来说,右侧窗格将显示我实际桌面上的所有内容,以及左侧窗格中显示的所有桌面直接子节点。唯一出现在所有 3 个位置的是回收站。
这让我想知道“显示所有文件夹”是什么意思......全部什么文件夹?“全部”占了很大一块地方。唯一的新文件夹是我的主配置文件文件夹和控制面板。右侧窗格中的新项目是桌面内容,但这些不是“文件夹”,而且选项中没有提到显示非文件夹对象。
看起来这个选项可能是为了提供一种方法来获取一些在桌面界面被 Tile 界面(“现代 UI”?)取代后难以获取的内容。但在我看来,它有一个严重的命名问题。
答案1
它是一个虚拟文件夹,是Shell 命名空间。它包含来自用户桌面文件夹以及公共桌面文件夹和虚拟项目,例如控制面板,回收站,这台电脑。链接解释得比我清楚!:D
编辑:这里有一些电源外壳为了约翰的缘故……
$Shell = New-Object -ComObject shell.Application
$Desktop = $Shell.Namespace(0)
$Desktop.Items() | select Name
$Desktop.Items() | ?{$_.IsFileSystem -match 'False'} | select Name, Type
$Desktop.Items() | ?{$_.Name -match 'Panel$'} | %{$_.GetFolder.Items() | select Name, Type, Path | fl}
$Desktop.Items() | ?{$_.Name -match 'Panel$'} | %{$_.GetFolder.Items()} | %{$_.GetFolder.Items() | select Name, Type, Path | fl}
#######################################################
>>>>>>> Output from above <<<<<<<<<<<
PS C:\>>$Shell = New-Object -ComObject shell.Application
PS C:\> $Shell
Application Parent
----------- ------
System.__ComObject System.__ComObject
PS C:\>>$Desktop = $Shell.Namespace(0)
PS C:\>>$Desktop
Title : Desktop
Application : System.__ComObject
Self : System.__ComObject
HaveToShowWebViewBarricade : False
ShowWebViewBarricade : False
PS C:\>>$Desktop.Items() | select Name
Name
----
This PC
Recycle Bin
Renamed Control Panel
Keith Miller
Libraries
Control Panel
Network
...
iTunes
PS C:\>>$Desktop.Items() | ?{$_.IsFileSystem -match 'False'} | select Name, Type
Name Type
---- ----
This PC System Folder
Recycle Bin System Folder
Renamed Control Panel System Folder
Libraries System Folder
Control Panel System Folder
Network System Folder
PS C:\>>$Desktop.Items() | ?{$_.Name -match 'Panel$'} | %{$_.GetFolder.Items() | select Name, Type, Path | fl}
Name : System and Security
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\5
Name : Network and Internet
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\3
Name : Hardware and Sound
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\2
Name : Programs
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\8
Name : User Accounts
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\9
Name : Appearance and Personalization
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\1
Name : Clock and Region
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\6
Name : Ease of Access
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\7
Name : All Control Panel Items
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0
PS C:\> $Desktop.Items() | ?{$_.Name -match 'Panel$'} | %{$_.GetFolder.Items()} | %{$_.GetFolder.Items() | select Name, Type, Path | fl}
>>
Name : Power Options
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\5\::{025A5937-A6BE-4686-A844-36FE4BEC8B6D}
Name : Windows Defender Firewall
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\5\::{4026492F-2F69-46B8-B9BF-5654FC07E423}
Name : Backup and Restore (Windows 7)
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\5\::{B98A2BEA-7D42-4558-8BD1-832F41BAC6FD}
Name : System
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\5\::{BB06C0E4-D293-4F75-8A90-CB05B6477EEE}
Name : Security and Maintenance
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\5\::{BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}
Name : Administrative Tools
Type : System Folder
Path : C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
Name : Work Folders
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\5\::{ECDB0924-4208-451E-8EE0-373C0956DE16}
Name : File History
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\5\::{F6B6E965-E9B2-444B-9286-10C9152EDBC5}
Name : Storage Spaces
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\5\::{F942C606-0914-47AB-BE56-1321B8035096}
Name : Flash Player (32-bit)
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\{FF5B614E-7398-4596-B3F6-0C41283DA1AD}
Name : Network and Sharing Center
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\3\::{8E908FC9-BECC-40F6-915B-F4CA0E70D03D}
Name : Internet Options
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\3\::{A3DD4F92-658A-410F-84FD-6FBBBEF2FFFE}
Name : Intel® PROSet/Wireless Tools
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\3\::{F93169C3-1E48-45E0-92F7-D91B418B618A}
Name : Power Options
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\2\::{025A5937-A6BE-4686-A844-36FE4BEC8B6D}
Name : Touchpad
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\2\::{3EA22083-D5BF-411B-A6D6-A27541794266}
Name : Windows Mobility Center
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\2\::{5EA4F148-308C-46D7-98A9-49041B1DD468}
Name : Tablet PC Settings
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\2\::{80F3F1D5-FECA-45F3-BC32-752C152E456E}
Name : AutoPlay
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\2\::{9C60DE1E-E5FC-40F4-A487-460851A8D915}
Name : Devices and Printers
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\2\::{A8A91A66-3A7D-4424-8D24-04E180695C7A}
Name : Energy Star
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\2\::{AE37A7F8-8AEC-477A-BB4C-584B8000C34E}
Name : Intel(R) Rapid Storage Technology
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\2\::{E342F0FE-FF1C-4C41-BE37-A0271FC90396}
Name : Sound
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\2\::{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}
Name : Pen and Touch
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\2\::{F82DF8F7-8B9F-442E-A48C-818EA735FF9B}
Name : Audio Control
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\{F82E749F-088E-4936-995E-BF5E4B8B81CA}
Name : Intel® Graphics Settings
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\{9D0F8984-3EF6-4F51-B2FF-131D8CD11831}
Name : Default Programs
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\8\::{17CD9488-1228-4B2F-88CE-4298E93E0966}
Name : Programs and Features
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\8\::{7B81BE6A-CE2B-4676-A29E-EB907A5126C5}
Name : Credential Manager
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\9\::{1206F5F1-0569-412C-8FEC-3204630DFB70}
Name : User Accounts
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\9\::{60632754-C523-4B62-B45C-4172DA012619}
Name : Taskbar and Navigation
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\1\::{0DF44EAA-FF21-4412-828E-260A8728E7F1}
Name : File Explorer Options
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\1\::{6DFD7C5C-2451-11D3-A299-00C04F8EF6AF}
Name : Fonts
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\1\Fonts
Name : Ease of Access Center
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\1\::{D555645E-D4F8-4C29-A827-D93C859C4F2A}
Name : Region
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\6\::{62D8ED13-C9D0-4CE8-A914-47DD628FB1B0}
Name : Date and Time
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\6\::{E2E7934B-DCE5-43C4-9576-7FE4F75E7480}
Name : Speech Recognition
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\7\::{58E3C745-D971-4081-9034-86E34B30836A}
Name : Ease of Access Center
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\7\::{D555645E-D4F8-4C29-A827-D93C859C4F2A}
Name : Power Options
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{025A5937-A6BE-4686-A844-36FE4BEC8B6D}
Name : Taskbar and Navigation
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{0DF44EAA-FF21-4412-828E-260A8728E7F1}
Name : Credential Manager
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{1206F5F1-0569-412C-8FEC-3204630DFB70}
Name : Default Programs
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{17CD9488-1228-4B2F-88CE-4298E93E0966}
Name : RemoteApp and Desktop Connections
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{241D7C96-F8BF-4F85-B01F-E2B043341A4B}
Name : Touchpad
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{3EA22083-D5BF-411B-A6D6-A27541794266}
Name : Windows Defender Firewall
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{4026492F-2F69-46B8-B9BF-5654FC07E423}
Name : Phone and Modem
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{40419485-C444-4567-851A-2DD7BFA1684D}
Name : Speech Recognition
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{58E3C745-D971-4081-9034-86E34B30836A}
Name : Windows Mobility Center
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{5EA4F148-308C-46D7-98A9-49041B1DD468}
Name : User Accounts
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{60632754-C523-4B62-B45C-4172DA012619}
Name : Region
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{62D8ED13-C9D0-4CE8-A914-47DD628FB1B0}
Name : Mouse
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{6C8EEC18-8D75-41B2-A177-8831D59D2D50}
Name : File Explorer Options
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{6DFD7C5C-2451-11D3-A299-00C04F8EF6AF}
Name : Keyboard
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{725BE8F7-668E-4C7B-8F90-46BDB0936430}
Name : Device Manager
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{74246BFC-4C96-11D0-ABEF-0020AF6B0B7A}
Name : Programs and Features
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{7B81BE6A-CE2B-4676-A29E-EB907A5126C5}
Name : Tablet PC Settings
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{80F3F1D5-FECA-45F3-BC32-752C152E456E}
Name : Indexing Options
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{87D66A43-7B11-4A28-9811-C86EE395ACF7}
Name : Network and Sharing Center
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{8E908FC9-BECC-40F6-915B-F4CA0E70D03D}
Name : AutoPlay
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{9C60DE1E-E5FC-40F4-A487-460851A8D915}
Name : Sync Center
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{9C73F5E5-7AE7-4E32-A8E8-8D23B85255BF}
Name : Recovery
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{9FE63AFD-59CF-4419-9775-ABCC3849F861}
Name : Internet Options
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{A3DD4F92-658A-410F-84FD-6FBBBEF2FFFE}
Name : Devices and Printers
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{A8A91A66-3A7D-4424-8D24-04E180695C7A}
Name : Energy Star
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{AE37A7F8-8AEC-477A-BB4C-584B8000C34E}
Name : Color Management
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{B2C761C6-29BC-4F19-9251-E6195265BAF1}
Name : Backup and Restore (Windows 7)
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{B98A2BEA-7D42-4558-8BD1-832F41BAC6FD}
Name : System
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{BB06C0E4-D293-4F75-8A90-CB05B6477EEE}
Name : Security and Maintenance
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}
Name : Fonts
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\Fonts
Name : Troubleshooting
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{C58C4893-3BE0-4B45-ABB5-A63E4B8C8651}
Name : Administrative Tools
Type : System Folder
Path : C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
Name : Ease of Access Center
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{D555645E-D4F8-4C29-A827-D93C859C4F2A}
Name : Date and Time
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{E2E7934B-DCE5-43C4-9576-7FE4F75E7480}
Name : Intel(R) Rapid Storage Technology
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{E342F0FE-FF1C-4C41-BE37-A0271FC90396}
Name : Work Folders
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{ECDB0924-4208-451E-8EE0-373C0956DE16}
Name : Sound
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}
Name : File History
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{F6B6E965-E9B2-444B-9286-10C9152EDBC5}
Name : Pen and Touch
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{F82DF8F7-8B9F-442E-A48C-818EA735FF9B}
Name : Intel® PROSet/Wireless Tools
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{F93169C3-1E48-45E0-92F7-D91B418B618A}
Name : Storage Spaces
Type : System Folder
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{F942C606-0914-47AB-BE56-1321B8035096}
Name : Audio Control
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\{F82E749F-088E-4936-995E-BF5E4B8B81CA}
Name : Flash Player (32-bit)
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\{FF5B614E-7398-4596-B3F6-0C41283DA1AD}
Name : Intel® Graphics Settings
Type :
Path : ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\{9D0F8984-3EF6-4F51-B2FF-131D8CD11831}