Shell Commands List for Windows 10  

Page 1 of 2 12 LastLast
    Shell Commands List for Windows 10

    Shell Commands List for Windows 10

    Complete List of Windows 10 Shell Commands
    Published by Category: Customization
    01 Aug 2022
    Designer Media Ltd

    Complete List of Windows 10 Shell Commands


    A shell command can be typed in the Run (Windows+R) dialog, search, File Explorer address bar, and Internet Explorer address bar to open a Windows shell folder.

    This tutorial will show you a complete list of shell commands that can be used to easily open or create shortcuts of specific shell folders in Windows 10.

    The red shell commands in the table below are new to Windows 10.

    You can find the shell command listed in the Name string value data for each CLSID (GUID) key number at the registry location below.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions

    You can create a shortcut with a shell command by adding explorer in front of the shell command.

    For example:

    explorer shell:command


    For a Windows 11 version of this tutorial, see:

    List of Windows 11 Shell Commands for Shell Folder Shortcuts




    Shell Command Opens
    shell:3D Objects %UserProfile%\3D Objects
    shell:AccountPictures %AppData%\Microsoft\Windows\AccountPictures
    shell:AddNewProgramsFolder Control Panel\All Control Panel Items\Get Programs
    shell:Administrative Tools %AppData%\Microsoft\Windows\Start Menu\Programs\Administrative Tools
    shell:AppData %AppData%
    shell:Application Shortcuts %LocalAppData%\Microsoft\Windows\Application Shortcuts
    shell:AppsFolder Applications
    shell:AppUpdatesFolder Installed Updates
    shell:Cache %LocalAppData%\Microsoft\Windows\INetCache
    shell:Camera Roll %UserProfile%\Pictures\Camera Roll
    shell:CD Burning %LocalAppData%\Microsoft\Windows\Burn\Burn
    shell:ChangeRemoveProgramsFolder Control Panel\All Control Panel Items\Programs and Features
    shell:Common Administrative Tools %ProgramData%\Microsoft\Windows\Start Menu\Programs\Administrative Tools
    shell:Common AppData %ProgramData%
    shell:Common Desktop %Public%\Desktop
    shell:Common Documents %Public%\Documents
    shell:CommonDownloads %Public%\Downloads
    shell:CommonMusic %Public%\Music
    shell:CommonPictures %Public%\Pictures
    shell:Common Programs %ProgramData%\Microsoft\Windows\Start Menu\Programs
    shell:CommonRingtones %ProgramData%\Microsoft\Windows\Ringtones
    shell:Common Start Menu %ProgramData%\Microsoft\Windows\Start Menu
    shell:Common Startup %ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup
    shell:Common Templates %ProgramData%\Microsoft\Windows\Templates
    shell:CommonVideo %Public%\Videos
    shell:ConflictFolder Control Panel\All Control Panel Items\Sync Center\Conflicts
    shell:ConnectionsFolder Control Panel\All Control Panel Items\Network Connections
    shell:Contacts %UserProfile%\Contacts
    shell:ControlPanelFolder Control Panel\All Control Panel Items
    shell:Cookies %LocalAppData%\Microsoft\Windows\INetCookies
    shell:Cookies\Low %LocalAppData%\Microsoft\Windows\INetCookies\Low
    shell:CredentialManager %AppData%\Microsoft\Credentials
    shell:CryptoKeys %AppData%\Microsoft\Crypto
    shell:desktop Desktop
    shell:device Metadata Store %ProgramData%\Microsoft\Windows\DeviceMetadataStore
    shell:documentsLibrary Libraries\Documents
    shell:downloads %UserProfile%\Downloads
    shell:dpapiKeys %AppData%\Microsoft\Protect
    shell:Favorites %UserProfile%\Favorites
    shell:Fonts %WinDir%\Fonts
    shell:Games (removed in version 1803) Games
    shell:GameTasks %LocalAppData%\Microsoft\Windows\GameExplorer
    shell:History %LocalAppData%\Microsoft\Windows\History
    shell:HomeGroupCurrentUserFolder Homegroup\(user-name)
    shell:HomeGroupFolder Homegroup
    shell:ImplicitAppShortcuts %AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\ImplicitAppShortcuts
    shell:InternetFolder Internet Explorer
    shell:Libraries Libraries
    shell:Links %UserProfile%\Links
    shell:Local AppData %LocalAppData%
    shell:LocalAppDataLow %UserProfile%\AppData\LocalLow
    shell:MusicLibrary Libraries\Music
    shell:MyComputerFolder This PC
    shell:My Music %UserProfile%\Music
    shell:My Pictures %UserProfile%\Pictures
    shell:My Video %UserProfile%\Videos
    shell:NetHood %AppData%\Microsoft\Windows\Network Shortcuts
    shell:NetworkPlacesFolder Network
    shell:OneDrive OneDrive
    shell:OneDriveCameraRoll %UserProfile%\OneDrive\Pictures\Camera Roll
    shell:OneDriveDocuments %UserProfile%\OneDrive\Documents
    shell:OneDriveMusic %UserProfile%\OneDrive\Music
    shell:OneDrivePictures %UserProfile%\OneDrive\Pictures
    shell:Personal %UserProfile%\Documents
    shell:PicturesLibrary Libraries\Pictures
    shell:PrintersFolder All Control Panel Items\Printers
    shell:PrintHood %AppData%\Microsoft\Windows\Printer Shortcuts
    shell:Profile %UserProfile%
    shell:ProgramFiles %ProgramFiles%
    shell:ProgramFilesCommon %ProgramFiles%\Common Files
    shell:ProgramFilesCommonX64 %ProgramFiles%\Common Files (64-bit Windows only)
    shell:ProgramFilesCommonX86 %ProgramFiles(x86)%\Common Files (64-bit Windows only)
    shell:ProgramFilesX64 %ProgramFiles% (64-bit Windows only)
    shell:ProgramFilesX86 %ProgramFiles(x86)% (64-bit Windows only)
    shell:Programs %AppData%\Microsoft\Windows\Start Menu\Programs
    shell:Public %Public%
    shell:PublicAccountPictures %Public%\AccountPictures
    shell:PublicGameTasks %ProgramData%\Microsoft\Windows\GameExplorer
    shell:PublicLibraries %Public%\Libraries
    shell:Quick Launch %AppData%\Microsoft\Internet Explorer\Quick Launch
    shell:Recent %AppData%\Microsoft\Windows\Recent
    shell:RecordedTVLibrary Libraries\Recorded TV
    shell:RecycleBinFolder Recycle Bin
    shell:ResourceDir %WinDir%\Resources
    shell:Ringtones %ProgramData%\Microsoft\Windows\Ringtones
    shell:Roamed Tile Images %LocalAppData%\Microsoft\Windows\RoamedTileImages
    shell:Roaming Tiles %AppData%\Microsoft\Windows\RoamingTiles
    shell:::{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0} Run dialog box
    shell:SavedGames %UserProfile%\Saved Games
    shell:Screenshots %UserProfile%\Pictures\Screenshots
    shell:Searches %UserProfile%\Searches
    shell:SearchHistoryFolder %LocalAppData%\Microsoft\Windows\ConnectedSearch\History
    shell:SearchHomeFolder search-ms:
    shell:SearchTemplatesFolder %LocalAppData%\Microsoft\Windows\ConnectedSearch\Templates
    shell:SendTo %AppData%\Microsoft\Windows\SendTo
    shell:Start Menu %AppData%\Microsoft\Windows\Start Menu
    shell:StartMenuAllPrograms StartMenuAllPrograms
    shell:Startup %AppData%\Microsoft\Windows\Start Menu\Programs\Startup
    shell:SyncCenterFolder Control Panel\All Control Panel Items\Sync Center
    shell:SyncResultsFolder Control Panel\All Control Panel Items\Sync Center\Sync Results
    shell:SyncSetupFolder Control Panel\All Control Panel Items\Sync Center\Sync Setup
    shell:System %WinDir%\System32
    shell:SystemCertificates %AppData%\Microsoft\SystemCertificates
    shell:SystemX86 %WinDir%\SysWOW64
    shell:Templates %AppData%\Microsoft\Windows\Templates
    shell:ThisPCDesktopFolder Desktop
    shell:UsersFilesFolder %UserProfile%
    shell:User Pinned %AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned
    shell:UserProfiles %HomeDrive%\Users
    shell:UserProgramFiles %LocalAppData%\Programs
    shell:UserProgramFilesCommon %LocalAppData%\Programs\Common
    shell:UsersLibrariesFolder Libraries
    shell:VideosLibrary Libraries\Videos
    shell:Windows %WinDir%


    That's it,
    Shawn Brink






  1. Posts : 22,740
    Windows 10 Home x64
       #1

    Thanks again Shawn.. Need to play with this today!

    Jeff :)
      My Computer


  2. whs
    Posts : 1,935
    Windows 7
       #2

    Thank you Shawn. That is a very useful list. I always wonder how you get this done in such a short period of time. I spend weeks on a tutorial, LOL.
      My Computer


  3. Posts : 68,668
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #3

    I don't know. Tutorials just seem to come natural for me with it's content and format. That helps some to make it go quicker.

    What takes forever is the research, testing, and screenshots before creating them.
      My Computers


  4. whs
    Posts : 1,935
    Windows 7
       #4

    Right, the screenshote and pictures hold you up. That's why I like video tuts.
      My Computer


  5. Posts : 1
    Windows 10
       #5

    Thanks for the list. Here is shell command to launch RUN box. shell:::{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}
      My Computer


  6. Posts : 68,668
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #6

    gergend said:
    Thanks for the list. Here is shell command to launch RUN box. shell:::{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}

    Thank you gergend, and welcome to Ten Forums.
      My Computers


  7. Posts : 76
    Windows 10 Home 64-bit version 22H2 build 10.0.19045.3448
       #7

    Can these be used from the command line?

    Shane.
      My Computer


  8. Posts : 16,786
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #8

    Shanester said:
    Can these be used from the command line?

    Shane.
    Mentioned in the intro - create a shortcut with this in its Target field explorer shell:command

    Denis
      My Computer


  9. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #9

    I was just searching for something and came across this Thread, and although it wasn't what I was looking for and I found it somewhere else, I remembered [ @Shanester's Post prompted me ] I had a Script for it somewhere.

    Anyway, to cut a long story short, I found it and decided to post it in case anyone can benefit from it.

    In my Script notes, I also found the following commands [ NOT included in the Script ] . . .

    These do NOTHING on my system:
    Code:
    
    explorer shell:CSCFolder  - Found that this was for Win Vista but STILL listed in Win 10
    explorer shell:MAPIFolder - Folder NOT found anywhere on my OS

    These open but all goto the Documents folder:
    Code:
    
    explorer shell:LocalizedResourcesDir - Folder NOT found anywhere om my OS
    explorer shell:OEM Links             - Folder NOT found anywhere om my OS
    explorer shell:Original Images       - Folder NOT found anywhere om my OS
    explorer shell:PhotoAlbums           - Folder NOT found anywhere om my OS
    explorer shell:Playlists             - Folder NOT found anywhere om my OS
    explorer shell:Retail Demo           - Tried BOTH Retail Demo & RetailDemo, but NEITHER worked.
                                           BUT, RetailDemo folder found here:
                                           %SystemRoot%\System32\Tasks\Microsoft\Windows\RetailDemo
    explorer shell:SkyDriveCameraRoll    - Found that this has now become OneDrive
    explorer shell:SkyDriveMusic         - Found that this has now become OneDrive
    explorer shell:SkyDrivePictures      - Found that this has now become OneDrive

    NOTE:- I have a customised installation so maybe that is the reason for the above.

    My Script [ thanks to OpenOffice Calc Text-to-Columns, Concatenate, Find & Replace, + others, and Notepad++ ]:
    Code:
    
    @echo off
    if not "%1"=="max" start /max cmd /c %0 max & Exit /b
    :: ##############################################################################################
    :: # Title     : Shell Commands - Complete List                                                 #
    :: # Created By: Paul Black                                                                     #
    :: # Created On: 28-Jun-2022                                                                    #
    :: # Filename  : Shell_Commands_Complete_List.bat                                               #
    :: # Tutorial  : https://www.tenforums.com/tutorials/3109-shell-commands-list-windows-10-a.html #
    ::: #############################################################################################
    set "Title=Shell Commands - Complete List" & set "Author=Paul Black"
    title %Title% - Written by %Author%.
    
    setlocal EnableDelayedExpansion
    fsutil Dirty Query %SystemDrive% > nul && goto:[RunAs]
    echo CreateObject^("Shell.Application"^). ^
    ShellExecute "%~0","+","","RunAs",1 > "%Temp%\+.vbs" && "%Temp%\+.vbs" & Exit
    :[RunAs]
    
    :Options
    
    echo. & echo  =====================================================================================================================================================================
            echo  %Title%:-
            echo  =====================================================================================================================================================================
    echo. & echo  INFORMATION:
    echo. & echo  A Shell Command can be typed in the Run [Windows+R] Dialog Box, Search, File Explorer Address Bar, and Internet Explorer Address Bar to open a Windows Shell Folder.
    echo. & echo  ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
    echo. & echo  Options:
    echo. & echo  [  0] EXIT this Program.
    echo. &	echo  [  1] 3D Objects
    	echo  [  2] AccountPictures
    	echo  [  3] AddNewProgramsFolder
    	echo  [  4] Administrative Tools
    	echo  [  5] AppData
    	echo  [  6] Application Shortcuts
    	echo  [  7] AppsFolder
    	echo  [  8] AppUpdatesFolder
    	echo  [  9] Cache
    	echo  [ 10] Camera Roll
    	echo  [ 11] CD Burning
    	echo  [ 12] ChangeRemoveProgramsFolder
    	echo  [ 13] Common Administrative Tools
    	echo  [ 14] Common AppData
    	echo  [ 15] Common Desktop
    	echo  [ 16] Common Documents
    	echo  [ 17] CommonDownloads
    	echo  [ 18] CommonMusic
    	echo  [ 19] CommonPictures
    	echo  [ 20] Common Programs
    	echo  [ 21] CommonRingtones
    	echo  [ 22] Common Start Menu
    	echo  [ 23] Common Startup
    	echo  [ 24] Common Templates
    	echo  [ 25] CommonVideo
    	echo  [ 26] ConflictFolder
    	echo  [ 27] ConnectionsFolder
    	echo  [ 28] Contacts
    	echo  [ 29] ControlPanelFolder
    	echo  [ 30] Cookies
    	echo  [ 31] Cookies\Low
    	echo  [ 32] CredentialManager
    	echo  [ 33] CryptoKeys
    	echo  [ 34] Desktop
    	echo  [ 35] Device Metadata Store
    	echo  [ 36] DocumentsLibrary
    	echo  [ 37] Downloads
    	echo  [ 38] dpapiKeys
    	echo  [ 39] Favorites
    	echo  [ 40] Fonts
    	echo  [ 41] Games [ Removed in Version 1803 ]
    	echo  [ 42] GameTasks
    	echo  [ 43] History
    	echo  [ 44] HomeGroupCurrentUserFolder
    	echo  [ 45] HomeGroupFolder
    	echo  [ 46] ImplicitAppShortcuts
    	echo  [ 47] InternetFolder
    	echo  [ 48] Libraries
    	echo  [ 49] Links
    	echo  [ 50] Local AppData
    	echo  [ 51] LocalAppDataLow
    	echo  [ 52] MusicLibrary
    	echo  [ 53] MyComputerFolder [ This PC ]
    	echo  [ 54] My Music
    	echo  [ 55] My Pictures
    	echo  [ 56] My Video
    	echo  [ 57] NetHood
    	echo  [ 58] NetworkPlacesFolder
    	echo  [ 59] OneDrive
    	echo  [ 60] OneDriveCameraRoll
    	echo  [ 61] OneDriveDocuments
    	echo  [ 62] OneDriveMusic
    	echo  [ 63] OneDrivePictures
    	echo  [ 64] Personal
    	echo  [ 65] PicturesLibrary
    	echo  [ 66] PrintersFolder
    	echo  [ 67] PrintHood
    	echo  [ 68] Profile
    	echo  [ 69] ProgramFiles
    	echo  [ 70] ProgramFilesCommon
    	echo  [ 71] ProgramFilesCommonX64
    	echo  [ 72] ProgramFilesCommonX86
    	echo  [ 73] ProgramFilesX64
    	echo  [ 74] ProgramFilesX86
    	echo  [ 75] Programs
    	echo  [ 76] Public
    	echo  [ 77] PublicAccountPictures
    	echo  [ 78] PublicGameTasks
    	echo  [ 79] PublicLibraries
    	echo  [ 80] Quick Launch
    	echo  [ 81] Recent
    	echo  [ 82] RecordedTVLibrary
    	echo  [ 83] RecycleBinFolder
    	echo  [ 84] ResourceDir
    	echo  [ 85] Ringtones
    	echo  [ 86] Roamed Tile Images
    	echo  [ 87] Roaming Tiles
    	echo  [ 88] Run Dialog Box
    	echo  [ 89] SavedGames
    	echo  [ 90] Screenshots
    	echo  [ 91] Searches
    	echo  [ 92] SearchHistoryFolder
    	echo  [ 93] SearchHomeFolder
    	echo  [ 94] SearchTemplatesFolder
    	echo  [ 95] SendTo
    	echo  [ 96] Start Menu
    	echo  [ 97] StartMenuAllPrograms
    	echo  [ 98] Startup
    	echo  [ 99] SyncCenterFolder
    	echo  [100] SyncResultsFolder
    	echo  [101] SyncSetupFolder
    	echo  [102] System
    	echo  [103] SystemCertificates
    	echo  [104] SystemX86
    	echo  [105] Templates
    	echo  [106] ThisPCDesktopFolder
    	echo  [107] UsersFilesFolder
    	echo  [108] User Pinned
    	echo  [109] UserProfiles
    	echo  [110] UserProgramFiles
    	echo  [111] UserProgramFilesCommon
    	echo  [112] UsersLibrariesFolder
    	echo  [113] VideosLibrary
    	echo  [114] Windows
    echo. & echo  =====================================================================================================================================================================& echo.
    
    set "UserInput="
    set /p "UserInput=>Enter an Option number and press <Enter>: "
    
    if   "%UserInput%"=="" cls & goto :Options
    if /i %UserInput%==0   Exit
    if /i %UserInput%==1   goto:3DObjects
    if /i %UserInput%==2   goto:AccountPictures
    if /i %UserInput%==3   goto:AddNewProgramsFolder
    if /i %UserInput%==4   goto:AdministrativeTools
    if /i %UserInput%==5   goto:AppData
    if /i %UserInput%==6   goto:ApplicationShortcuts
    if /i %UserInput%==7   goto:AppsFolder
    if /i %UserInput%==8   goto:AppUpdatesFolder
    if /i %UserInput%==9   goto:Cache
    if /i %UserInput%==10  goto:CameraRoll
    if /i %UserInput%==11  goto:CDBurning
    if /i %UserInput%==12  goto:ChangeRemoveProgramsFolder
    if /i %UserInput%==13  goto:CommonAdministrativeTools
    if /i %UserInput%==14  goto:CommonAppData
    if /i %UserInput%==15  goto:CommonDesktop
    if /i %UserInput%==16  goto:CommonDocuments
    if /i %UserInput%==17  goto:CommonDownloads
    if /i %UserInput%==18  goto:CommonMusic
    if /i %UserInput%==19  goto:CommonPictures
    if /i %UserInput%==20  goto:CommonPrograms
    if /i %UserInput%==21  goto:CommonRingtones
    if /i %UserInput%==22  goto:CommonStartMenu
    if /i %UserInput%==23  goto:CommonStartup
    if /i %UserInput%==24  goto:CommonTemplates
    if /i %UserInput%==25  goto:CommonVideo
    if /i %UserInput%==26  goto:ConflictFolder
    if /i %UserInput%==27  goto:ConnectionsFolder
    if /i %UserInput%==28  goto:Contacts
    if /i %UserInput%==29  goto:ControlPanelFolder
    if /i %UserInput%==30  goto:Cookies
    if /i %UserInput%==31  goto:Cookies\Low
    if /i %UserInput%==32  goto:CredentialManager
    if /i %UserInput%==33  goto:CryptoKeys
    if /i %UserInput%==34  goto:Desktop
    if /i %UserInput%==35  goto:DeviceMetadataStore
    if /i %UserInput%==36  goto:DocumentsLibrary
    if /i %UserInput%==37  goto:Downloads
    if /i %UserInput%==38  goto:dpapiKeys
    if /i %UserInput%==39  goto:Favorites
    if /i %UserInput%==40  goto:Fonts
    if /i %UserInput%==41  goto:Games[Removed_in_Version_1803]
    if /i %UserInput%==42  goto:GameTasks
    if /i %UserInput%==43  goto:History
    if /i %UserInput%==44  goto:HomeGroupCurrentUserFolder
    if /i %UserInput%==45  goto:HomeGroupFolder
    if /i %UserInput%==46  goto:ImplicitAppShortcuts
    if /i %UserInput%==47  goto:InternetFolder
    if /i %UserInput%==48  goto:Libraries
    if /i %UserInput%==49  goto:Links
    if /i %UserInput%==50  goto:LocalAppData
    if /i %UserInput%==51  goto:LocalAppDataLow
    if /i %UserInput%==52  goto:MusicLibrary
    if /i %UserInput%==53  goto:MyComputerFolder[This_PC]
    if /i %UserInput%==54  goto:MyMusic
    if /i %UserInput%==55  goto:MyPictures
    if /i %UserInput%==56  goto:MyVideo
    if /i %UserInput%==57  goto:NetHood
    if /i %UserInput%==58  goto:NetworkPlacesFolder
    if /i %UserInput%==59  goto:OneDrive
    if /i %UserInput%==60  goto:OneDriveCameraRoll
    if /i %UserInput%==61  goto:OneDriveDocuments
    if /i %UserInput%==62  goto:OneDriveMusic
    if /i %UserInput%==63  goto:OneDrivePictures
    if /i %UserInput%==64  goto:Personal
    if /i %UserInput%==65  goto:PicturesLibrary
    if /i %UserInput%==66  goto:PrintersFolder
    if /i %UserInput%==67  goto:PrintHood
    if /i %UserInput%==68  goto:Profile
    if /i %UserInput%==69  goto:ProgramFiles
    if /i %UserInput%==70  goto:ProgramFilesCommon
    if /i %UserInput%==71  goto:ProgramFilesCommonX64
    if /i %UserInput%==72  goto:ProgramFilesCommonX86
    if /i %UserInput%==73  goto:ProgramFilesX64
    if /i %UserInput%==74  goto:ProgramFilesX86
    if /i %UserInput%==75  goto:Programs
    if /i %UserInput%==76  goto:Public
    if /i %UserInput%==77  goto:PublicAccountPictures
    if /i %UserInput%==78  goto:PublicGameTasks
    if /i %UserInput%==79  goto:PublicLibraries
    if /i %UserInput%==80  goto:QuickLaunch
    if /i %UserInput%==81  goto:Recent
    if /i %UserInput%==82  goto:RecordedTVLibrary
    if /i %UserInput%==83  goto:RecycleBinFolder
    if /i %UserInput%==84  goto:ResourceDir
    if /i %UserInput%==85  goto:Ringtones
    if /i %UserInput%==86  goto:RoamedTileImages
    if /i %UserInput%==87  goto:RoamingTiles
    if /i %UserInput%==88  goto:RunDialogBox
    if /i %UserInput%==89  goto:SavedGames
    if /i %UserInput%==90  goto:Screenshots
    if /i %UserInput%==91  goto:Searches
    if /i %UserInput%==92  goto:SearchHistoryFolder
    if /i %UserInput%==93  goto:SearchHomeFolder
    if /i %UserInput%==94  goto:SearchTemplatesFolder
    if /i %UserInput%==95  goto:SendTo
    if /i %UserInput%==96  goto:StartMenu
    if /i %UserInput%==97  goto:StartMenuAllPrograms
    if /i %UserInput%==98  goto:Startup
    if /i %UserInput%==99  goto:SyncCenterFolder
    if /i %UserInput%==100 goto:SyncResultsFolder
    if /i %UserInput%==101 goto:SyncSetupFolder
    if /i %UserInput%==102 goto:System
    if /i %UserInput%==103 goto:SystemCertificates
    if /i %UserInput%==104 goto:SystemX86
    if /i %UserInput%==105 goto:Templates
    if /i %UserInput%==106 goto:ThisPCDesktopFolder
    if /i %UserInput%==107 goto:UsersFilesFolder
    if /i %UserInput%==108 goto:UserPinned
    if /i %UserInput%==109 goto:UserProfiles
    if /i %UserInput%==110 goto:UserProgramFiles
    if /i %UserInput%==111 goto:UserProgramFilesCommon
    if /i %UserInput%==112 goto:UsersLibrariesFolder
    if /i %UserInput%==113 goto:VideosLibrary
    if /i %UserInput%==114 goto:Windows
    goto :Options
    
    :3DObjects
    explorer shell:3D Objects
    cls & goto :Options
    
    :AccountPictures
    explorer shell:AccountPictures
    cls & goto :Options
    
    :AddNewProgramsFolder
    explorer shell:AddNewProgramsFolder
    cls & goto :Options
    
    :AdministrativeTools
    explorer shell:Administrative Tools
    cls & goto :Options
    
    :AppData
    explorer shell:AppData
    cls & goto :Options
    
    :ApplicationShortcuts
    explorer shell:Application Shortcuts
    cls & goto :Options
    
    :AppsFolder
    explorer shell:AppsFolder
    cls & goto :Options
    
    :AppUpdatesFolder
    explorer shell:AppUpdatesFolder
    cls & goto :Options
    
    :Cache
    explorer shell:Cache
    cls & goto :Options
    
    :CameraRoll
    explorer shell:Camera Roll
    cls & goto :Options
    
    :CDBurning
    explorer shell:CD Burning
    cls & goto :Options
    
    :ChangeRemoveProgramsFolder
    explorer shell:ChangeRemoveProgramsFolder
    cls & goto :Options
    
    :CommonAdministrativeTools
    explorer shell:Common Administrative Tools
    cls & goto :Options
    
    :CommonAppData
    explorer shell:Common AppData
    cls & goto :Options
    
    :CommonDesktop
    explorer shell:Common Desktop
    cls & goto :Options
    
    :CommonDocuments
    explorer shell:Common Documents
    cls & goto :Options
    
    :CommonDownloads
    explorer shell:CommonDownloads
    cls & goto :Options
    
    :CommonMusic
    explorer shell:CommonMusic
    cls & goto :Options
    
    :CommonPictures
    explorer shell:CommonPictures
    cls & goto :Options
    
    :CommonPrograms
    explorer shell:Common Programs
    cls & goto :Options
    
    :CommonRingtones
    explorer shell:CommonRingtones
    cls & goto :Options
    
    :CommonStartMenu
    explorer shell:Common Start Menu
    cls & goto :Options
    
    :CommonStartup
    explorer shell:Common Startup
    cls & goto :Options
    
    :CommonTemplates
    explorer shell:Common Templates
    cls & goto :Options
    
    :CommonVideo
    explorer shell:CommonVideo
    cls & goto :Options
    
    :ConflictFolder
    explorer shell:ConflictFolder
    cls & goto :Options
    
    :ConnectionsFolder
    explorer shell:ConnectionsFolder
    cls & goto :Options
    
    :Contacts
    explorer shell:Contacts
    cls & goto :Options
    
    :ControlPanelFolder
    explorer shell:ControlPanelFolder
    cls & goto :Options
    
    :Cookies
    explorer shell:Cookies
    cls & goto :Options
    
    :Cookies\Low
    explorer shell:Cookies\Low
    cls & goto :Options
    
    :CredentialManager
    explorer shell:CredentialManager
    cls & goto :Options
    
    :CryptoKeys
    explorer shell:CryptoKeys
    cls & goto :Options
    
    :Desktop
    explorer shell:Desktop
    cls & goto :Options
    
    :DeviceMetadataStore
    explorer shell:Device Metadata Store
    cls & goto :Options
    
    :DocumentsLibrary
    explorer shell:DocumentsLibrary
    cls & goto :Options
    
    :Downloads
    explorer shell:Downloads
    cls & goto :Options
    
    :dpapiKeys
    explorer shell:dpapiKeys
    cls & goto :Options
    
    :Favorites
    explorer shell:Favorites
    cls & goto :Options
    
    :Fonts
    explorer shell:Fonts
    cls & goto :Options
    
    :Games[Removed_in_Version_1803]
    explorer shell:Games
    cls & goto :Options
    
    :GameTasks
    explorer shell:GameTasks
    cls & goto :Options
    
    :History
    explorer shell:History
    cls & goto :Options
    
    :HomeGroupCurrentUserFolder
    explorer shell:HomeGroupCurrentUserFolder
    cls & goto :Options
    
    :HomeGroupFolder
    explorer shell:HomeGroupFolder
    cls & goto :Options
    
    :ImplicitAppShortcuts
    explorer shell:ImplicitAppShortcuts
    cls & goto :Options
    
    :InternetFolder
    explorer shell:InternetFolder
    cls & goto :Options
    
    :Libraries
    explorer shell:Libraries
    cls & goto :Options
    
    :Links
    explorer shell:Links
    cls & goto :Options
    
    :LocalAppData
    explorer shell:Local AppData
    cls & goto :Options
    
    :LocalAppDataLow
    explorer shell:LocalAppDataLow
    cls & goto :Options
    
    :MusicLibrary
    explorer shell:MusicLibrary
    cls & goto :Options
    
    :MyComputerFolder[This_PC]
    explorer shell:MyComputerFolder
    cls & goto :Options
    
    :MyMusic
    explorer shell:My Music
    cls & goto :Options
    
    :MyPictures
    explorer shell:My Pictures
    cls & goto :Options
    
    :MyVideo
    explorer shell:My Video
    cls & goto :Options
    
    :NetHood
    explorer shell:NetHood
    cls & goto :Options
    
    :NetworkPlacesFolder
    explorer shell:NetworkPlacesFolder
    cls & goto :Options
    
    :OneDrive
    explorer shell:OneDrive
    cls & goto :Options
    
    :OneDriveCameraRoll
    explorer shell:OneDriveCameraRoll
    cls & goto :Options
    
    :OneDriveDocuments
    explorer shell:OneDriveDocuments
    cls & goto :Options
    
    :OneDriveMusic
    explorer shell:OneDriveMusic
    cls & goto :Options
    
    :OneDrivePictures
    explorer shell:OneDrivePictures
    cls & goto :Options
    
    :Personal
    explorer shell:Personal
    cls & goto :Options
    
    :PicturesLibrary
    explorer shell:PicturesLibrary
    cls & goto :Options
    
    :PrintersFolder
    explorer shell:PrintersFolder
    cls & goto :Options
    
    :PrintHood
    explorer shell:PrintHood
    cls & goto :Options
    
    :Profile
    explorer shell:Profile
    cls & goto :Options
    
    :ProgramFiles
    explorer shell:ProgramFiles
    cls & goto :Options
    
    :ProgramFilesCommon
    explorer shell:ProgramFilesCommon
    cls & goto :Options
    
    :ProgramFilesCommonX64
    explorer shell:ProgramFilesCommonX64
    cls & goto :Options
    
    :ProgramFilesCommonX86
    explorer shell:ProgramFilesCommonX86
    cls & goto :Options
    
    :ProgramFilesX64
    explorer shell:ProgramFilesX64
    cls & goto :Options
    
    :ProgramFilesX86
    explorer shell:ProgramFilesX86
    cls & goto :Options
    
    :Programs
    explorer shell:Programs
    cls & goto :Options
    
    :Public
    explorer shell:Public
    cls & goto :Options
    
    :PublicAccountPictures
    explorer shell:PublicAccountPictures
    cls & goto :Options
    
    :PublicGameTasks
    explorer shell:PublicGameTasks
    cls & goto :Options
    
    :PublicLibraries
    explorer shell:PublicLibraries
    cls & goto :Options
    
    :QuickLaunch
    explorer shell:Quick Launch
    cls & goto :Options
    
    :Recent
    explorer shell:Recent
    cls & goto :Options
    
    :RecordedTVLibrary
    explorer shell:RecordedTVLibrary
    cls & goto :Options
    
    :RecycleBinFolder
    explorer shell:RecycleBinFolder
    cls & goto :Options
    
    :ResourceDir
    explorer shell:ResourceDir
    cls & goto :Options
    
    :Ringtones
    explorer shell:Ringtones
    cls & goto :Options
    
    :RoamedTileImages
    explorer shell:Roamed Tile Images
    cls & goto :Options
    
    :RoamingTiles
    explorer shell:Roaming Tiles
    cls & goto :Options
    
    :RunDialogBox
    explorer shell:::{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}
    cls & goto :Options
    
    :SavedGames
    explorer shell:SavedGames
    cls & goto :Options
    
    :Screenshots
    explorer shell:Screenshots
    cls & goto :Options
    
    :Searches
    explorer shell:Searches
    cls & goto :Options
    
    :SearchHistoryFolder
    explorer shell:SearchHistoryFolder
    cls & goto :Options
    
    :SearchHomeFolder
    explorer shell:SearchHomeFolder
    cls & goto :Options
    
    :SearchTemplatesFolder
    explorer shell:SearchTemplatesFolder
    cls & goto :Options
    
    :SendTo
    explorer shell:SendTo
    cls & goto :Options
    
    :StartMenu
    explorer shell:Start Menu
    cls & goto :Options
    
    :StartMenuAllPrograms
    explorer shell:StartMenuAllPrograms
    cls & goto :Options
    
    :Startup
    explorer shell:Startup
    cls & goto :Options
    
    :SyncCenterFolder
    explorer shell:SyncCenterFolder
    cls & goto :Options
    
    :SyncResultsFolder
    explorer shell:SyncResultsFolder
    cls & goto :Options
    
    :SyncSetupFolder
    explorer shell:SyncSetupFolder
    cls & goto :Options
    
    :System
    explorer shell:System
    cls & goto :Options
    
    :SystemCertificates
    explorer shell:SystemCertificates
    cls & goto :Options
    
    :SystemX86
    explorer shell:SystemX86
    cls & goto :Options
    
    :Templates
    explorer shell:Templates
    cls & goto :Options
    
    :ThisPCDesktopFolder
    explorer shell:ThisPCDesktopFolder
    cls & goto :Options
    
    :UsersFilesFolder
    explorer shell:UsersFilesFolder
    cls & goto :Options
    
    :UserPinned
    explorer shell:User Pinned
    cls & goto :Options
    
    :UserProfiles
    explorer shell:UserProfiles
    cls & goto :Options
    
    :UserProgramFiles
    explorer shell:UserProgramFiles
    cls & goto :Options
    
    :UserProgramFilesCommon
    explorer shell:UserProgramFilesCommon
    cls & goto :Options
    
    :UsersLibrariesFolder
    explorer shell:UsersLibrariesFolder
    cls & goto :Options
    
    :VideosLibrary
    explorer shell:VideosLibrary
    cls & goto :Options
    
    :Windows
    explorer shell:Windows
    cls & goto :Options
    
    
    

    I hope someone finds it useful !

    EDIT:- I have just updated the Script.

    Just as an added bit of information. As I use a LOT of different folders on a daily basis, I created a cut down version of the Script that I keep open and then just enter the Option number and it takes me straight to the required folder. It saves a LOT of time going through the folders structure to get to the required folder, or having to remember what the commands are to type into the Run box.

    NOTE:- I have Re-Scripted the above code using an Array instead of goto: in Post #12 below.
    Last edited by Paul Black; 10 Nov 2022 at 17:50.
      My Computer


 

Tutorial Categories

Shell Commands List for Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:26.
Find Us




Windows 10 Forums