I searched over internet, but did not find suitable answers or those answers was to old for my issue.
In company where I work is more than 10 PC with different windows OS (windows 7, windows vista, windows 10). On these machines I need to set up my application, which copies and renames one excel file from any location to one predefined. After that runs another (not my) application. For better workflow, I want run that app only from windows context menu when user makes right click on file which will be copied. To make some restrictions in the process, I want make restriction to context menu item appearance on right click.
E.g. In some folder located file "****tags****.xlsx". When this file is right clicked, in context menu is visible command "Copy&Print With...". If file mask does not match, then context menu item not visible.
My main problem: context menu item creation and control of that context menu item visibility. I think is possible to do by registry changes, but I don’t know how to make file mask restriction. And of course, different versions of windows make some difficulties.
I will be very pleased for any suitable answers.