Monday 27 July 2015

shell: command in Windows - Did you know?

I recently discovered that not many people are aware of the shell: command in Windows. Windows Explorer (not the Internet Explorer) recognises the command shell: allowing you to open specific system folders. (you can also use: shellnew: instead of shell:)

For example, type the command shell:startup in the address bar and hit Enter.

This action will open the StartUp folder which under Windows 8.1, it is located here:
C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Another example would be launching the Documents folder of your user profile. Simply type shell:personal and hit Enter. You can also use this command at the Run Dialog window.
In case you would like this to work from the command line, you will have to invoke Windows Explorer (explorer), like in the example below.
Below you will find a complete list of the shell: commands for Windows XP/Vista/7/8. The entire list can be found in following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\FolderDescriptions

commands in Windows XP
additional commands in Vista
additional commands in Win7
shell:Administrative Tools
shell:AddNewProgramsFolder
shell:CommonRingtones
shell:AppData
shell:AppUpdatesFolder
shell:Device Metadata Store
shell:Cache
shell:ChangeRemoveProgramsFolder
shell:DocumentsLibrary
shell:CD Burning
shell:CommonDownloads
shell:ImplicitAppShortcuts
shell:Common Administrative Tools
shell:CommonMusic
shell:Libraries
shell:Common AppData
shell:ConflictFolder
shell:MusicLibrary
shell:Common Desktop
shell:Contacts
shell:OtherUsersFolder
shell:Common Documents
shell:CredentialManager
shell:PicturesLibrary
shell:Common Programs
shell:CryptoKeys
shell:PublicSuggestedLocations
shell:Common Start Menu
shell:CSCFolder
shell:RecordedTVLibrary
shell:Common Startup
shell:Default Gadgets
shell:Ringtones
shell:Common Templates
shell:Downloads
shell:SuggestedLocations
shell:CommonPictures
shell:DpapiKeys
shell:User Pinned
shell:CommonVideo
shell:Gadgets
shell:UserProgramFiles
shell:ConnectionsFolder
shell:Games
shell:UserProgramFilesCommon
shell:ControlPanelFolder
shell:GameTasks
shell:UsersLibrariesFolder
shell:Cookies
shell:Links
shell:VideosLibrary
shell:Desktop
shell:LocalAppDataLow

shell:Favorites
shell:MAPIFolder

shell:Fonts
shell:MyComputerFolder

shell:History
shell:NetworkPlacesFolder

shell:InternetFolder
shell:OEM Links

shell:Local AppData
shell:Original Images

shell:LocalizedResourcesDir
shell:PhotoAlbums

shell:My Music
shell:Playlists

shell:My Pictures
shell:ProgramFilesCommon

shell:My Video
shell:ProgramFilesCommonX86

shell:NetHood
shell:ProgramFilesX86

shell:Personal
shell:Public

shell:PrintersFolder
shell:PublicGameTasks

shell:PrintHood
shell:Quick Launch

shell:Profile
shell:SampleMusic

shell:ProgramFiles
shell:SamplePictures

shell:Programs
shell:SamplePlaylists

shell:Recent
shell:SampleVideos

shell:RecycleBinFolder
shell:SavedGames

shell:ResourceDir
shell:Searches

shell:SendTo
shell:SearchHomeFolder

shell:Start Menu
shell:SyncCenterFolder

shell:Startup
shell:SyncResultsFolder

shell:System
shell:SyncSetupFolder

shell:SystemX86
shell:SystemCertificates

shell:Templates
shell:TreePropertiesFolder

shell:Windows
shell:UserProfiles


shell:UsersFilesFolder




No comments:

Post a Comment