Adding custom item to Windows 11 context menu


ajaxStardust

Active member
Local time
1:16 AM
Posts
28
OS
Windows 11 Pro
Hi there. I want to add a custom item to my Windows 11 context menu. I know it's possible to add items, but I don't know the correct registry key or parameters. I've done it before, and I understand the "risks".


My goal: Launch a web browser, and pass parameters on the command line which would look like:
Code:
"http://localhost/path2url.php?path=%2Fvar%2Fwww%2Fhtml%2Fwebsite%2Ffile.html"

So, my command will look something like:
Code:
"C:\Program Files\Mozilla\firefox.exe -newtab-maybe http://localhost/path2url.php?path=%2Fvar%2Fwww%2Fhtml%2Fwebsite%2Ffile.html"
Sending the URL parameter is what i couldn't get right when I tried it before. (also, i think I was only getting it when right-clicking on the desktop, which is not preferred for this circumstance).

I wouldn't expect anyone to write code about this. If there's a link to a tutorial, that would be great!

Thanks! Best wishes. :)

P.S. What is that quick [Win+R] command to bring up the system info quick? (i used System > About for the info here which is easy w/ that "Copy" button)
:D
 
Windows Build/Version
Edition Windows 11 Pro Version 22H2 Installed on ‎5/‎15/‎2023 OS build 22621.1848 Experience Windows Feature Experience Pack 1000.22642.1000.0

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink
    CPU
    N5105
    Motherboard
    AZW U59 (U3E1)
    Memory
    32.00 GB
    Graphics Card(s)
    Intel UHD Graphics: 8086-4E61
    Sound Card
    USB Audio Device
    Monitor(s) Displays
    HP E241i
    Screen Resolution
    1920x1200
    Other Info
    http://speccy.piriform.com/results/NwxSjHiPVH0y4XLSt8D2NvS
P.S. What is that quick [Win+R] command to bring up the system info quick? (i used System > About for the info here which is easy w/ that "Copy" button)
:D

msinfo32
 
Last edited:

My Computers

System One System Two

  • OS
    Win 11 Pro 23H2 22631.3527
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel® Core™ i7-14700F
    Motherboard
    ASUS TUF GAMING Z690-PLUS WIFI
    Memory
    G.SKILL Ripjaws S5 Series 64GB (2 x 32GB) DDR5
    Graphics Card(s)
    EVGA GeForce RTX 3050 XC Black Gaming
    Sound Card
    Sound Blaster AE-5 Plus
    Monitor(s) Displays
    ASUS TUF Gaming 27" 2K HDR Gaming
    Screen Resolution
    2560 x 1440
    Hard Drives
    Samsung 990 Pro 1TB NVMe (Win 11)
    SK hynix P41 500GB NVMe (Win 10)
    SK hynix P41 2TB NVMe (x3)
    Crucial P3 Plus 4TB
    PSU
    Corsair RM850x Shift
    Case
    Antec Dark Phantom DP502 FLUX
    Cooling
    Noctua NH-U12A chromax.black + 7 Phantek T-30's
    Keyboard
    Logitech MK 320
    Mouse
    Razer Basilisk V3
    Internet Speed
    350Mbs
    Browser
    Firefox
    Antivirus
    Winows Security
    Other Info
    Windows 10 22H2 19045.4291
    On System One
  • Operating System
    Win 11 Pro 23H2 22631.3527
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel Core i7-11700F
    Motherboard
    Asus TUF Gaming Z590 Plus WiFi
    Memory
    64 GB DDR4
    Graphics card(s)
    EVGA RTX 2060 KO Ultra Gaming
    Sound Card
    SoundBlaster X-Fi Titanium
    Monitor(s) Displays
    Samsung F27T350
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 980 Pro 1TB
    Samsung 970 EVO Plus 2TB
    Samsung 870 EVO 500GB SSD
    PSU
    Corsair HX750
    Case
    Cougar MX330-G Window
    Cooling
    Hyper 212 EVO
    Internet Speed
    350Mbps
    Browser
    Firefox
    Antivirus
    Windows Security

My Computer

System One

  • OS
    Windows 11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI / MS-7B29
    CPU
    Intel i3 8100 @3.6Ghz
    Motherboard
    H310M PRO-VDH (MS-7B29)
    Memory
    1 x 16GB DDR4 @2400 MHz
    Graphics Card(s)
    Nvidia GeForce GT 1030 2GB SDDR4
    Sound Card
    Realtek VEN_10EC&DEV_0887 / NVIDIA VEN_10DE&DEV_0081
    Monitor(s) Displays
    Acer V226HQL
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 500 GB Crucial MX500 / HDD 1 TB TOSHIBA DT01ACA100
    PSU
    ATX, details unknown
    Case
    Everest 551B
    Cooling
    details unknown
    Keyboard
    Mechanical Gaming Hydra R7 - Rampage
    Mouse
    Logitech G703
    Internet Speed
    Down: 28Mbps / Up: 19Mbps
    Browser
    Microsoft Edge
    Antivirus
    Microsoft Defender Antivirus
    Other Info
    Bluetooth: TP Link 5.0 Nano USB adapter UB500
    WLAN: D-Link 150 Pico USB adapter, N standard
    Web camera: Logitech C270 HD 720p @30fps
    Microphone: Trust MICO, model 23790

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink
    CPU
    N5105
    Motherboard
    AZW U59 (U3E1)
    Memory
    32.00 GB
    Graphics Card(s)
    Intel UHD Graphics: 8086-4E61
    Sound Card
    USB Audio Device
    Monitor(s) Displays
    HP E241i
    Screen Resolution
    1920x1200
    Other Info
    http://speccy.piriform.com/results/NwxSjHiPVH0y4XLSt8D2NvS

Latest Support Threads

Back
Top Bottom