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

feat: win32 component to redirect file activation to Notepads to open any file types (including restricted file types like .bat .cmd etc.) #755

Open
wants to merge 34 commits into
base: master
Choose a base branch
from

Conversation

soumyamahunt
Copy link
Contributor

@soumyamahunt soumyamahunt commented Jan 15, 2021

This PR implements Win32 component which redirects file activation to Notepads. User can use this .exe file to open unsupported files with Notepads.

PR Type

What kind of change does this PR introduce?

  • Feature

Other information

While for Windows 10 2004 and later version user can open any file types with Notepads, users in earlier version of Windows 10 can use this desktop component to open unsupported file types.

Also, UWP restricted file types like batch file(.bat, .cmd etc.), VB Script files(.vbe, .vbs etc.) and .reg files show "Edit" shell menu entries which opens these file types in Windows Notepad and edit them. User can use desktop component either by modifying registry or copying the desktop component to System32 directory to open these file types with Notepads instead.

Ylf7SHUFgQ

@soumyamahunt
Copy link
Contributor Author

@Jasonstein Since Notepads doesn't need to launch this desktop component in any way, it is included as a file for user and no runFullTrust capability is required. We can also provide option in Notepads interface for user to copy the executable path or provide the executable to place anywhere the user wants. Let me know what you think about this.

@soumyamahunt soumyamahunt changed the title ImplementedWin32 component to redirect activation to UWP app Implemented Win32 component to redirect activation to UWP app Jan 15, 2021
@soumyamahunt soumyamahunt changed the title Implemented Win32 component to redirect activation to UWP app feat: Win32 component to redirect file activation to Notepads and allow opening any file types (including restricted file types like .bat .cmd etc.) Mar 29, 2021
@soumyamahunt soumyamahunt changed the title feat: Win32 component to redirect file activation to Notepads and allow opening any file types (including restricted file types like .bat .cmd etc.) feat: win32 component to redirect file activation to Notepads to open any file types (including restricted file types like .bat .cmd etc.) Apr 18, 2021
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

Successfully merging this pull request may close these issues.

1 participant