Windows 10: Run program only by typing it's name (App Paths)

  1.    01 Jul 2018 #1

    Run program only by typing it's name (App Paths)


    Hi folks,

    I have some questions about the registry value "App Paths".

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\

    The value is used to specify programas that you can run only by typing the name of the program in the run command (WINDOWS + R).

    Basically it looks like you create a subkey with the name of the program+extension, in the default value of the subkey you specify the full path and program name and create value called "Path" where you specify the path to the program without the program name.

    What I want to know:

    1. If it is possible to create an entry so I can just type the name of a "Folder" in the run command or Address bar and it is opened in File Explorer no matter where the folder is located like it happens with some common Windows folders like Onedrive, Documents, Music etc.

    2. Some entries in the "App Paths" key have different entries that are not "Path" and I would be grateful if someone can explain them:

    * DropTarget (This one seams permit to specify an folder ID something like {oeuroe-er549850-elreoureo-lkdjf}*
    * CmstpExtensionDll
    * CmNative
    * BlockOnTSNonInstallMode
    * UseURL
    * UseShortName


    This is an example from a Win 8.1 machine but I think Win 10 is pretty much the same:

    App_Paths.txt
    Last edited by ricardobohner; 01 Jul 2018 at 06:46.
      My ComputerSystem Spec

  2.    01 Jul 2018 #2

    I've created keys in the App Paths registry "folder" for this purpose ... but the key must contain the name of a program.
    I just now tried creating a key called "a", with value C:\
    Using "Start > Run > a" did not work.

    I tried putting the value "C:\Windows\explorer.exe C:" in there
    It did not work.

    I tried putting "C:\Windows\explorer.exe" in there.
    It worked ... but explorer opened in a default folder.

    So ... there's no "easy" way to do this.
      My ComputerSystem Spec

  3.    01 Jul 2018 #3

    But now I found a (clumsy) way to do this ...

    If you want to create a "registry app-paths shortcut" to your Desktop folder ...
    1. Create a .bat file called Desktop.bat
    2. It should contain one line of text: C:\Windows\explorer.exe C:\Users\YOUR-NAME\Desktop
    3. Put this file into some folder of your choice. Let's say you put it into C:\app-path-shortcuts ... but you can really put it anywhere you want.
    4. Create your registry entry in the App Paths section of the registry. Call it Desktop.bat
    5. Give it this value: C:\apps-path-shortcuts\Desktop.bat

    Now, whenever you use Start > Run > desktop.bat ... your desktop.bat script will run (a cmd window will open briefly, and will then vanish) ... and your explorer window will appear.

    It would have been nicer to name the registry key Desktop rather than Desktop.bat
    And then at the Start > Run prompt you could typeDesktop insead of Desktop.bat
    That would be more convenient ... but it doesn't work.
      My ComputerSystem Spec

  4. Kari's Avatar
    Posts : 15,021
    Windows 10 Pro
       01 Jul 2018 #4

    ricardobohner said: View Post
    If it is possible to create an entry so I can just type the name of a "Folder" in the run command or Address bar and it is opened in File Explorer no matter where the folder is located like it happens with some common Windows folders like Onedrive, Documents, Music etc.
    Any folder located in your user profile folder can be opened from Run prompt or File Explorer addressbar simply by typing the folder name.

    An example: you create a folder C:\Users\Your_UserProfileName\MyStuff. You can now open it from Run or File Explorer simply by typing MyStuff and hitting Enter.

    Kari
      My ComputerSystem Spec

  5.    01 Jul 2018 #5

    If you want to quickly access favourite folders etc I use two ways.

    Here is one:
    Middle click in an empty space in file explorer and most open/save boxes:
    Click image for larger version. 

Name:	Untitled.png 
Views:	2 
Size:	190.1 KB 
ID:	194169

    Implemented by Listary (free/pro)- and not its only function.
    Listary App Launcher

    Another is the buttons on the title bar added by Actual Window Manager on most 'standard' window frames- which you can also see. One of those gives favourites as a drop-down.
      My ComputerSystem Spec

  6.    02 Jul 2018 #6

    Thank you guys. Can anyone give any info on what this values do?

    * CmstpExtensionDll
    * CmNative
    * BlockOnTSNonInstallMode
    * UseURL
    * UseShortName


      My ComputerSystem Spec


 

Related Threads
Odd paths in windows firewall in AntiVirus, Firewalls and System Security
For some reason, when looking up the rules in my firewall. Some of the rules have odd paths. See below. I do have an F: drive, but these files are now located on a K: drive. So I have now idea what the "F:0" or "F:2" is about. Any ideas?151967
Hi When I right click the Windows Button, and select Run, if i hit the pulldown there's no items. So therefore no registry items in RunMRU to delete. However if i say type a drive letter, then all the things i've accessed will populate, even if...
Hi guys , i will want to know if anyone can inform me how i will can set more that one path to make it visible in a folder ... Because i have 2 HDD and i will want in Documents folders to see 2 different paths ... One from C and one from D ... Any...
Read more: Upgrading to Windows 10? Here are the supported paths

Tags for this Thread

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 04:37.
Find Us