Made simple .reg file

Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\apk_auto_file\shell\Build setup\] "MUIVerb"="Установить билд..." "Icon"="imageres.dll,25" [HKEY_CLASSES_ROOT\apk_auto_file\shell\Build setup\command\] @="cmd.exe \"%1\" /S /K adb install -r \"%1\" " 

It works for Win 7, but nothing happens for win 10, the necessary menu item is not added. What I need, by right-clicking on the apk file, you can select a menu item that opens the console with the arguments passed to me.

    1 answer 1

    In order for the menu item to appear in apk files, you need to add a link to apk_auto_file in the registry:

     Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Classes\.apk] @="apk_auto_file" [HKEY_CLASSES_ROOT\apk_auto_file\shell\Build setup\] "MUIVerb"="”становить билд..." "Icon"="imageres.dll,25" [HKEY_CLASSES_ROOT\apk_auto_file\shell\Build setup\command\] @="cmd.exe \"%1\" /S /K adb install -r \"%1\" " 

    It is also more convenient to use FileTypesMan to create / edit extensions and menu items for them.

    • Maybe at least some explanation add? - αλεχολυτ