似乎没有 MSDN 参考:但是有这个:http://www.winhelponline.com/blog/shell-commands-to-access-the-special-folders/ http://www.winhelponline.com/blog/shell-commands-to-access-the-special-folders/
编辑:已知文件夹ID http://msdn.microsoft.com/en-us/library/dd378457%28VS.85%29.aspxMSDN 页面上有一些关于文件夹的详细信息,但没有关于 shell:打开它们的机制。
编辑2:这是第一个链接的内容,以防万一它消失:
shell: 命令可用于直接从“开始”、“搜索”菜单或“运行”对话框打开特殊文件夹。例如,命令 shell:sendto 打开 SendTo 文件夹(%userprofile%\sendto
)您的用户个人资料。要启动用户配置文件的 Documents 文件夹,您需要输入 shell:Personal。下面是一个完整的 shell:Windows 10/8/7/XP/Vista 的命令列表。在 Windows Vista 及更高版本中,整个列表存储在以下注册表项中:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\FolderDescriptions
Shell 的完整列表:Windows 10 中的命令
Windows 10 有 22 个新的 shell 命令。“SkyDrive…”内容变成了“OneDrive…”,并且早期的格式在 Windows 10 中被删除。从而突出显示了 Windows 10 的新增功能。
shell:AccountPictures
shell:Roaming Tiles
shell:Common Programs
shell:PublicAccountPictures
shell:GameTasks
shell:UserProfiles
shell:MyComputerFolder
shell:SearchHistoryFolder
shell:Local Pictures
shell:SyncSetupFolder
shell:DpapiKeys
shell:Retail Demo
shell:Favorites
shell:My Video
shell:SearchHomeFolder
shell:RecordedTVLibrary
shell:System
shell:Libraries
shell:ThisDeviceFolder
shell:AppsFolder
shell:MusicLibrary
shell:CommonVideo
shell:OneDriveDocuments
shell:SyncResultsFolder
shell:Cookies
shell:CameraRollLibrary
shell:Original Images
shell:Recorded Calls
shell:3D Objects
shell:CommonMusic
shell:OneDrivePictures
shell:My Pictures
shell:Cache
shell:Local Videos
shell:Downloads
shell:SavedPictures
shell:CommonDownloads
shell:AppData
shell:SyncCenterFolder
shell:PublicLibraries
shell:VideosLibrary
shell:My Music
shell:ConflictFolder
shell:SavedGames
shell:InternetFolder
shell:HomeGroupFolder
shell:Quick Launch
shell:SystemCertificates
shell:Contacts
shell:UserProgramFiles
shell:Device Metadata Store
shell:Profile
shell:Start Menu
shell:Common AppData
shell:ProgramFilesCommonX64
shell:PhotoAlbums
shell:ProgramFilesX64
shell:ConnectionsFolder
shell:Administrative Tools
shell:ThisPCDesktopFolder
shell:OneDriveCameraRoll
shell:PrintersFolder
shell:DocumentsLibrary
shell:ProgramFilesX86
shell:Searches
shell:Local Downloads
shell:SearchTemplatesFolder
shell:Common Startup
shell:ControlPanelFolder
shell:SendTo
shell:ResourceDir
shell:ProgramFiles
shell:CredentialManager
shell:PrintHood
shell:MAPIFolder
shell:HomeGroupCurrentUserFolder
shell:User Pinned
shell:CD Burning
shell:Local Music
shell:UsersLibrariesFolder
shell:AppUpdatesFolder
shell:Application Shortcuts
shell:Common Start Menu
shell:Common Start Menu Places
shell:LocalAppDataLow
shell:OneDrive
shell:Templates
shell:Programs
shell:PicturesLibrary
shell:Roamed Tile Images
shell:Camera Roll
shell:Recent
shell:Desktop
shell:Virtual Machines
shell:CommonPictures
shell:RecycleBinFolder
shell:Screenshots
shell:CryptoKeys
shell:Common Templates
shell:Startup
shell:ImplicitAppShortcuts
shell:UserProgramFilesCommon
shell:Links
shell:OEM Links
shell:OneDriveMusic
shell:Common Desktop
shell:NetHood
shell:Ringtones
shell:Games
shell:Common Administrative Tools
shell:NetworkPlacesFolder
shell:SystemX86
shell:History
shell:Development Files
shell:AddNewProgramsFolder
shell:Playlists
shell:ProgramFilesCommonX86
shell:PublicGameTasks
shell:ChangeRemoveProgramsFolder
shell:Public
shell:SavedPicturesLibrary
shell:CommonRingtones
shell:Common Documents
shell:Captures
shell:CSCFolder
shell:Local AppData
shell:StartMenuAllPrograms
shell:Windows
shell:UsersFilesFolder
shell:Local Documents
shell:ProgramFilesCommon
shell:Fonts
shell:Personal
Shell 的完整列表:Windows 8 中的命令
shell:AccountPictures
shell:Roaming Tiles
shell:Common Programs
shell:PublicAccountPictures
shell:GameTasks
shell:UserProfiles
shell:MyComputerFolder
shell:SearchHistoryFolder
shell:SyncSetupFolder
shell:DpapiKeys
shell:Favorites
shell:My Video
shell:SearchHomeFolder
shell:RecordedTVLibrary
shell:System
shell:Libraries
shell:ThisDeviceFolder
shell:AppsFolder
shell:MusicLibrary
shell:CommonVideo
shell:SkyDriveDocuments
shell:SyncResultsFolder
shell:Cookies
shell:Original Images
shell:CommonMusic
shell:SkyDrivePictures
shell:My Pictures
shell:Cache
shell:Downloads
shell:CommonDownloads
shell:AppData
shell:SyncCenterFolder
shell:PublicLibraries
shell:VideosLibrary
shell:My Music
shell:ConflictFolder
shell:SavedGames
shell:InternetFolder
shell:HomeGroupFolder
shell:Quick Launch
shell:SystemCertificates
shell:Contacts
shell:UserProgramFiles
shell:Device Metadata Store
shell:Profile
shell:Start Menu
shell:Common AppData
shell:PhotoAlbums
shell:ConnectionsFolder
shell:Administrative Tools
shell:ThisPCDesktopFolder
shell:SkyDriveCameraRoll
shell:PrintersFolder
shell:DocumentsLibrary
shell:ProgramFilesX86
shell:Searches
shell:SearchTemplatesFolder
shell:Common Startup
shell:ControlPanelFolder
shell:SendTo
shell:ResourceDir
shell:ProgramFiles
shell:CredentialManager
shell:PrintHood
shell:MAPIFolder
shell:HomeGroupCurrentUserFolder
shell:User Pinned
shell:CD Burning
shell:UsersLibrariesFolder
shell:AppUpdatesFolder
shell:Application Shortcuts
shell:Common Start Menu
shell:LocalAppDataLow
shell:OneDrive
shell:Templates
shell:Programs
shell:PicturesLibrary
shell:Roamed Tile Images
shell:Camera Roll
shell:Recent
shell:Desktop
shell:CommonPictures
shell:RecycleBinFolder
shell:Screenshots
shell:CryptoKeys
shell:Common Templates
shell:Startup
shell:ImplicitAppShortcuts
shell:UserProgramFilesCommon
shell:Links
shell:OEM Links
shell:SkyDriveMusic
shell:Common Desktop
shell:NetHood
shell:Ringtones
shell:Games
shell:Common Administrative Tools
shell:NetworkPlacesFolder
shell:SystemX86
shell:History
shell:AddNewProgramsFolder
shell:Playlists
shell:ProgramFilesCommonX86
shell:PublicGameTasks
shell:ChangeRemoveProgramsFolder
shell:Public
shell:CommonRingtones
shell:Common Documents
shell:CSCFolder
shell:Local AppData
shell:StartMenuAllPrograms
shell:Windows
shell:UsersFilesFolder
shell:ProgramFilesCommon
shell:Fonts
shell:Personal
新 Shell:Windows 7 中的命令
除了 Windows Vista 中的大部分 shell 命令之外,Windows 7 还新增了以下命令:
shell:Libraries
shell:MusicLibrary
shell:VideosLibrary
shell:OtherUsersFolder
shell:Device Metadata Store
shell:PublicSuggestedLocations
shell:SuggestedLocations
shell:RecordedTVLibrary
shell:UserProgramFiles
shell:DocumentsLibrary
shell:User Pinned
shell:UsersLibrariesFolder
shell:PicturesLibrary
shell:ImplicitAppShortcuts
shell:UserProgramFilesCommon
shell:Ringtones
shell:CommonRingtones
shell:Windows Vista 中的命令
shell:Common Programs
shell:GameTasks
shell:UserProfiles
shell:MyComputerFolder
shell:SyncSetupFolder
shell:DpapiKeys
shell:SamplePlaylists
shell:Favorites
shell:My Video
shell:SearchHomeFolder
shell:System
shell:CommonVideo
shell:SyncResultsFolder
shell:LocalizedResourcesDir
shell:Cookies
shell:Original Images
shell:CommonMusic
shell:My Pictures
shell:Cache
shell:Downloads
shell:CommonDownloads
shell:AppData
shell:SyncCenterFolder
shell:My Music
shell:ConflictFolder
shell:SavedGames
shell:InternetFolder
shell:Quick Launch
shell:SystemCertificates
shell:Contacts
shell:TreePropertiesFolder
shell:Profile
shell:Start Menu
shell:Common AppData
shell:PhotoAlbums
shell:ConnectionsFolder
shell:Administrative Tools
shell:PrintersFolder
shell:Default Gadgets
shell:ProgramFilesX86
shell:Searches
shell:Common Startup
shell:ControlPanelFolder
shell:SampleVideos
shell:SendTo
shell:ResourceDir
shell:ProgramFiles
shell:CredentialManager
shell:PrintHood
shell:MAPIFolder
shell:CD Burning
shell:AppUpdatesFolder
shell:Common Start Menu
shell:LocalAppDataLow
shell:Templates
shell:Gadgets
shell:Programs
shell:Recent
shell:SampleMusic
shell:Desktop
shell:CommonPictures
shell:RecycleBinFolder
shell:CryptoKeys
shell:Common Templates
shell:Startup
shell:Links
shell:OEM Links
shell:SamplePictures
shell:Common Desktop
shell:NetHood
shell:Games
shell:Common Administrative Tools
shell:NetworkPlacesFolder
shell:SystemX86
shell:History
shell:AddNewProgramsFolder
shell:Playlists
shell:ProgramFilesCommonX86
shell:PublicGameTasks
shell:ChangeRemoveProgramsFolder
shell:Public
shell:Common Documents
shell:CSCFolder
shell:Local AppData
shell:Windows
shell:UsersFilesFolder
shell:ProgramFilesCommon
shell:Fonts
shell:Personal
shell:Windows XP 中的命令
shell:Common Programs
shell:Favorites
shell:My Video
shell:System
shell:CommonVideo
shell:LocalizedResourcesDir
shell:Cookies
shell:My Pictures
shell:Cache
shell:AppData
shell:My Music
shell:InternetFolder
shell:Profile
shell:Start Menu
shell:Common AppData
shell:ConnectionsFolder
shell:Administrative Tools
shell:PrintersFolder
shell:ProgramFiles
shell:Common Startup
shell:ControlPanelFolder
shell:SendTo
shell:ResourceDir
shell:ProgramFiles
shell:PrintHood
shell:CD Burning
shell:Common Start Menu
shell:Templates
shell:Programs
shell:Recent
shell:Desktop
shell:CommonPictures
shell:RecycleBinFolder
shell:Common Templates
shell:Startup
shell:Common Desktop
shell:NetHood
shell:Common Administrative Tools
shell:SystemX86
shell:History
shell:Common Documents
shell:Local AppData
shell:Windows
shell:Fonts
shell:Personal