Windows 10: Exclude libraries from custom right-click menu using AppliesTo string

Discus and support Exclude libraries from custom right-click menu using AppliesTo string in Windows 10 Ask Insider to solve the problem; I am trying to add custom entries to the Windows 10 File Explorer (x64, v20H2). Specifically, I want to be able to right-click a directory and... Discussion in 'Windows 10 Ask Insider' started by /u/bamajon1974, Feb 7, 2021.

  1. Exclude libraries from custom right-click menu using AppliesTo string


    I am trying to add custom entries to the Windows 10 File Explorer (x64, v20H2). Specifically, I want to be able to right-click a directory and directory background for command prompt and powershell options to show up. I know I add the corresponding entries to HKCR\Directory\shell and HKCR\Directory\Background\shell keys. Problem is, the command prompt and powershell entries also show up when right clicking libraries and library folders and the command prompts do not work in these virtual folders, from what I have observed.

    I believe the best solution, after reading, is to exclude the main library folder and background using an AppliesTo string with a NOT value and some sort of system item path display value and the path to the libraries in the HKCR\Directory\Background\shell subkey but this removes the option for the command prompt and powershell to show up on all directory backgrounds.

    How can I fix this? What is the proper use of AppliesTo and AppliesTo NOT? What are the correct variable names in calling out virtual folders/hard links such as libraries? What are the correct paths to libraries?

    Thanks!

    submitted by /u/bamajon1974
    [link] [comments]

    :)
     
    /u/bamajon1974, Feb 7, 2021
    #1
  2. Ghot Win User

    Context Menu Command Prompt and AppliesTo Registry String


    Might try just this method...

    Add Command Prompt to Context Menu in Windows 10 Creators Update



    OR... just get and use WinAero Tweaker to do the same...

    Winaero Tweaker




    Exclude libraries from custom right-click menu using AppliesTo string [​IMG]





    About half way down the long pic... you'll see all the Context Menu things you can do.
    They all, also, have links to the manual way of doing those things.
     
    Ghot, Feb 7, 2021
    #2
  3. Naki Win User
    Feature suggestion: Add right-click menu

    Suggestion: Please add a Windows 7 Jump-List and/or right-click menu to the GPU-Z icon in the Windows taskbar. Possible menus in it would be "Exit" and "About GPU-Z...".
    Maybe also "Switch to tab 1/Switch to tab 2/Switch to videocard 1/Switch to videocard 2" too.
    Examples of programs that have such menus are ICQ, Skype, AIM.

    NOTE: It seems for a right-click menu, Windows 7 is not needed - it works on WinXP and Vista too.
    But even a Windows 7 Jump-list may be good enough.
    What do you think?
     
    Naki, Feb 7, 2021
    #3
  4. dalchina Win User

    Exclude libraries from custom right-click menu using AppliesTo string

    Can I customize the list of suggest apps in the "Open with" menu?

    Yep, I see the same.

    I tried adding Paint to Open With for txt. That also appeared in the More Options list.

    I suspect it's to do with what the programs are registered to handle. The Open With list is constructed form a number of sources e.g. at least these:

    Exclude libraries from custom right-click menu using AppliesTo string [​IMG]

    The first of those corresponds to Snip & Sketch (simply search and find refs to the Appx string)


    Exclude libraries from custom right-click menu using AppliesTo string [​IMG]

    Exclude libraries from custom right-click menu using AppliesTo string [​IMG]
     
    dalchina, Feb 7, 2021
    #4
Thema:

Exclude libraries from custom right-click menu using AppliesTo string

Loading...
  1. Exclude libraries from custom right-click menu using AppliesTo string - Similar Threads - Exclude libraries custom

  2. How can i customize the Windows11 right click menu?

    in Windows 10 Gaming
    How can i customize the Windows11 right click menu?: I want to be able to add, remove, edit and view the options in 'new view'windows 11 that are available when i "right-click" on "windows background" ,"inside a folder background" and "on a folder/file". As you can see , when i installed 'winrar' the respective option got...
  3. How can i customize the Windows11 right click menu?

    in Windows 10 Software and Apps
    How can i customize the Windows11 right click menu?: I want to be able to add, remove, edit and view the options in 'new view'windows 11 that are available when i "right-click" on "windows background" ,"inside a folder background" and "on a folder/file". As you can see , when i installed 'winrar' the respective option got...
  4. Custom Icons in Right Click menu.

    in Windows 10 Ask Insider
    Custom Icons in Right Click menu.: [ATTACH] Hello! Is possible to add custom icons to the right click menu options (example screenshot)? Thanks! https://preview.redd.it/qmuv6tpve2l61.png?width=215&format=png&auto=webp&s=ff27929f918cba85ad59deafc6b3aad981d2d1bc submitted by /u/_TopComp_ [link]...
  5. How to exclude libraries from custom right-click menu entries

    in Windows 10 Customization
    How to exclude libraries from custom right-click menu entries: I want to add a custom context menu entry to open an administrator command prompt when right-clicking a directory or directory background. I borrowed the registry modification code (shown below) from tenforums and works fine. However, I found that the command prompt context...
  6. Context Menu Command Prompt and AppliesTo Registry String

    in Windows 10 Customization
    Context Menu Command Prompt and AppliesTo Registry String: Please see the last three or four threads in: Add or Remove Command Prompt Open Here Context Menu in Windows 10 as they have pictures. I want to add Command Prompt to the right click menu and to show up on Folder Right-Clicks and Folder Backgrounds. Problem is, the registry...
  7. Change icons in : "Include in Library " right click menu

    in Windows 10 Customization
    Change icons in : "Include in Library " right click menu: Hello, Just as I change icons in : send to " menu with this tutorial : How to Change Send to Desktop (create shortcut) Icon in Windows (thank you) I want to be able ,if possible, to do the same with the right click menu : "Include in Library' I must precise that I have...
  8. customize right click

    in Windows 10 Ask Insider
    customize right click: I want to add a New .md and new .py file in the right click new list I tried some methods from the web in the regedit but non of them works. submitted by /u/ZER0-00 [link] [comments] https://www.reddit.com/r/Windows10/comments/j3aa34/customize_right_click/
  9. Adding custom text transforms to right click menu

    in Windows 10 Ask Insider
    Adding custom text transforms to right click menu: In MacOS I can add my own text transforms, so I can reformat file names quick. For example replace underscores with spaces and capitalise words. Can I do this in File Explorer? submitted by /u/throndar [link] [comments]...
  10. right click context menu customize question ** see attachment **

    in Windows 10 Customization
    right click context menu customize question ** see attachment **: common a big company like microsoft it´s cant make any option more viable to change and personalize a symple option like that..