Need help for context menu "Open alacritty here as administrator"

Paradox0s

New member
Local time
5:47 AM
Posts
2
Hello,everyone,

On tenforum I found way to add "open cmd here as admin" on context menu as below link.


Now I wonder if it's possible to add "Open alacritty here as admin" ? After installed, it add entry "open alacritty here"
with below code:
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Open Alacritty here\command]
@="C:\\Program Files\\Alacritty\\alacritty.exe --working-directory \"%V\""

Can anybody helps to find some way on this ?
Btw,Alacritty is really faster and much more beautiful compare with default cmd or wt.

Thank you
 

My Computer

System One

  • Operating System
    Windows
    Computer type
    Laptop
    Manufacturer/Model
    Thinkpad T14s gen1 AMD
    CPU
    Ryzen 4650U
    Memory
    16GB

neemobeer

Member
Local time
3:47 PM
Posts
3
You can call some Powershell as your command. Here is an example of a RunAs command launching an elevated cmd prompt.

powershell.exe -Command "& {Start-Process -FilePath 'C:\Windows\System32\cmd.exe' -Verb Runas -ArgumentList @('/K','cd','C:\Users') -NoWait}"
 

My Computer

System One

  • Operating System
    Windows 11

dacrone

Member
Member
Local time
2:47 PM
Posts
83
use EcMenu to create and implement it into your context menu. Can set a custom icon, run as admin, and add it to desktop, drive, folder context menus all at once...

 

My Computer

System One

  • Operating System
    Windows 11 Pro
Top Bottom