擅长:python、mysql、java
<p>通过实现自己的扩展并将其与中间应用程序(在本例中为python脚本)关联,可以实现类似的功能。这不会捕获所有的文件操作,但可以通过扩展名显式地处理一些操作。在</p>
<p>可以使用assoc命令向运行python的bat文件注册扩展名:</p>
<p><a href="https://superuser.com/questions/406985/programatically-associate-file-extensions-with-application-on-windows">https://superuser.com/questions/406985/programatically-associate-file-extensions-with-application-on-windows</a></p>