Supported OS: Windows
Currently supported interface: Offline [binary file only]
python install_context_menu.py
It is recommended that you are executing it from path within module then it would appear as below result
C:\>python
Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from xmlcli import XmlCli as cli
>>> cli
<module 'xmlcli.XmlCli' from 'C:\\Users\\gsaraiya\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\xmlcli\\XmlCli.py'>
>>> cli.helpers.install_context_menu()
script used from: <module 'xmlcli.XmlCli' from 'C:\\Users\\gsaraiya\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\xmlcli\\XmlCli.py'>
script path: C:\Users\gsaraiya\AppData\Local\Programs\Python\Python38\lib\site-packages\xmlcli
Registry install status = 0
0
>>>
You will be prompted to ask permission for registry editor.
As we are modifying Windows registry to add context menu it requires elevated privilege and confirmation. You shall see prompt awaiting your response as in this snapshot:
Observe success response as below:
You can find here various options of your choice and use as shortcut instead of using commandline everytime.