Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Support opening a file with arguments #716

Open
Logix-Dev opened this issue Nov 10, 2020 · 1 comment
Open

[Feature request] Support opening a file with arguments #716

Logix-Dev opened this issue Nov 10, 2020 · 1 comment

Comments

@Logix-Dev
Copy link

Notepads is a fantastic alternative to the default Windows Notepad program, which is unnecessarily bright and hasn't had a new lick of paint in eons.

I would very much like to use this as a replacement, which is easy enough, however one issue I've found is that I can't seem to change the Windows Context Menu's "Edit" command to open a file with Notepads.

In the registry, under Computer\HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\edit\command, we can see that it opens Notepad.exe and passes the filename as an argument. Changing
%SystemRoot%\system32\NOTEPAD.EXE %1 to %LOCALAPPDATA%\Microsoft\WindowsApps\19282JackieLiu.Notepads-Beta_echhpq9pdbte8\Notepads.exe %1 doesn't work; as in, Notepads opens, but doesn't open the file. Please could this be made possible?

Many thanks!

@soumyamahunt
Copy link
Contributor

The issue is that launching file with uwp apps works different than win32 apps, so the method you are trying won't work here. However a small win32 app can be provided with Notepads which redirects file launching with Notepads, #755 implements exactly this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants