0x7c13 / Notepads

A modern, lightweight text editor with a minimalist design.
https://www.NotepadsApp.com
MIT License
8.53k stars 470 forks source link

[Feature request]How to associate editing to the right click #1337

Open taotaoyouyou opened 1 month ago

taotaoyouyou commented 1 month ago

How to associate editing to the right click

abhwong commented 1 month ago

1.Create a new file called 1.reg 2.Copy the following content to 1.reg file.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\notepads]
@="open with notepads"
"Icon"="C:\\Your\\Icon\\Path\\notepads.ico,0"

[HKEY_CLASSES_ROOT\*\shell\notepads\command]
@="\"C:\\Users\\YourUsername\\AppData\\Local\\Microsoft\\WindowsApps\\Notepads.exe\" \"%V\""

3.Replace YourUsername and icon path. You can use the ico i converted or delete that line

  1. Save it. Double click and import.
taotaoyouyou commented 1 month ago

I have tried this method, and it will add "Open with NotePads" to all files in the right button,how can I add it in the right button of the specified file format,for example BAT, CMD. Thx