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


  1. Posts : 456
    Windows 10
       #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 Computer


  2. Posts : 1,680
    X
       #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 Computer


  3. Posts : 1,680
    X
       #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 Computer


  4. Posts : 17,661
    Windows 10 Pro
       #4

    ricardobohner said:
    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 Computer


  5. Posts : 42,983
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #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:
    Run program only by typing it's name (App Paths)-untitled.png

    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 Computers


  6. Posts : 456
    Windows 10
    Thread Starter
       #6

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

    * CmstpExtensionDll
    * CmNative
    * BlockOnTSNonInstallMode
    * UseURL
    * UseShortName


      My Computer


 

  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 23:32.
Find Us




Windows 10 Forums