【笔记】WindowsShell命名空间
前言
Windows在运行中通过Shell命名空间打开指定文件夹
通过命名空间名打开指定文件夹
我的电脑
1 | Shell:MyComputerFolder |
回收站
1 | Shell:RecycleBinFolder |
本地文件夹
用户家文件夹
1 | Shell:Profile |
1 | Shell:UsersFilesFolder |
1 | %UserProfile% |
桌面
1 | Desktop |
1 | Shell:Desktop |
1 | Shell:ThisPCDesktopFolder |
1 | %UserProfile%\Desktop |
下载
1 | Downloads |
1 | Shell:Downloads |
1 | Shell:Local Downloads |
1 | %UserProfile%\Downloads |
文档
1 | Shell:Personal |
1 | Shell:Local Documents |
1 | %UserProfile%\Documents |
图片
1 | Shell:My Pictures |
1 | Shell:Local Pictures |
1 | %UserProfile%\Pictures |
音乐
1 | Shell:My Music |
1 | Shell:Local Music |
1 | %UserProfile%\Music |
视频
1 | Shell:My Video |
1 | Shell:Local Videos |
1 | %UserProfile%\Videos |
联系人
- 只能在Windows7及以后使用
1 | Shell:Contacts |
1 | %UserProfile%\Contacts |
收藏夹
1 | Shell:Favorites |
1 | %UserProfile%\Favorites |
搜索
1 | Shell:Searches |
1 | %UserProfile%\Searches |
链接
1 | Shell:Links |
1 | %UserProfile%\Links |
3D对象
1 | Shell:3D Objects |
1 | %UserProfile%\3D Objects |
公用文件夹
公用
1 | Shell:Public |
1 | C:\Users\Public |
公用桌面
1 | Shell:Common Desktop |
1 | C:\Users\Public\Desktop |
公用下载
1 | Shell:CommonDownloads |
1 | C:\Users\Public\Downloads |
公用文档
1 | Shell:Common Documents |
1 | C:\Users\Public\Documents |
公用图片
1 | Shell:CommonPictures |
1 | C:\Users\Public\Pictures |
公用音乐
1 | Shell:CommonMusic |
1 | C:\Users\Public\Music |
公用视频
1 | Shell:CommonVideo |
1 | C:\Users\Public\Videos |
公用库
1 | Shell:PublicLibraries |
1 | C:\Users\Public\Libraries |
库
库
1 | Shell:Libraries |
1 | Shell:UsersLibrariesFolder |
文档库
1 | Shell:DocumentsLibrary |
图片库
1 | Shell:PicturesLibrary |
音乐库
1 | Shell:MusicLibrary |
视频库
1 | Shell:VideosLibrary |
开始菜单
系统级
1 | Shell:Common Programs |
1 | %ProgramData%\Microsoft\Windows\Start Menu\Programs |
用户级
1 | Shell:Start Menu |
1 | Shell:Programs |
1 | %AppData%\Microsoft\Windows\Start Menu\Programs |
启动
系统级
1 | Shell:Common Startup |
1 | %ProgramData%\Microsoft\Windows\Start Menu\Programs\StartUp |
用户级
1 | Shell:Startup |
1 | %AppData%\Microsoft\Windows\Start Menu\Programs\Startup |
控制面板
所有控制面板项
1 | Shell:ControlPanelFolder |
1 | 控制面板\所有控制面板项 |
网络连接
1 | Shell:ConnectionsFolder |
1 | 控制面板\所有控制面板项\网络连接 |
字体
1 | Shell:Fonts |
1 | C:\Windows\Fonts |
用户级应用程序本地数据
1 | Shell:Local AppData |
1 | %LocalAppData% |
用户级应用程序低完整性本地数据
1 | Shell:LocalAppDataLow |
1 | C:\Users\用户名\AppData\LocalLow |
用户级应用程序漫游数据
1 | Shell:AppData |
1 | %AppData% |
Program Files
1 | Shell:ProgramFiles |
1 | C:\Program Files |
共享文件
1 | Shell:ProgramFilesCommon |
1 | C:\Program Files\Common Files |
Program Files (x86)
1 | Shell:ProgramFilesX86 |
1 | C:\Program Files (x86) |
用户文件夹
1 | Shell:UserProfiles |
1 | C:\Users |
Windows文件夹
1 | Shell:Windows |
1 | C:\Windows |
系统文件夹
1 | Shell:System |
1 | C:\Windows\System32 |
SysWOW64文件夹
1 | Shell:SystemX86 |
1 | C:\Windows\SysWOW64 |
发送到
1 | Shell:SendTo |
1 | %AppData%\Microsoft\Windows\SendTo |
通过CLSID打开指定文件夹
<clsid>:指定CLSID
1 | Shell:::{<clsid>} |