It is necessary that when you right-click on a folder in the pop-up context menu, there was also my UWP application.

Right-click context menu

And the second is how inside the UWP application to find out which folder was clicked on?

    1 answer 1

    You can associate a specific type of file with your application. Read about how you can do it here: Processing file activation

    I have not heard about the possibility to open through a universal application through the context menu on the file and about opening folders. I think that now there is no such thing.