How to associate a file extension to a program without making it the default program

后端 未结 5 1922
不思量自难忘°
不思量自难忘° 2021-01-12 06:38

I\'m deploying a small conversion tool on some systems, and want the users to be able to run it from the right click Open with menu. But I don\'t want to change

5条回答
  •  盖世英雄少女心
    2021-01-12 07:41

    Setting the following keys worked for me:

    key HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/App Paths/: "" = 
    
    key HKCR/Applications//SupportedTypes:  = ""
    key HKCR/: "" = 
    
    key HKCR//OpenWithList/
    key HKCR//OpenWithList/
    key HKCR/SystemFileAssociations//OpenWithList/
    
    delete key and subkey at HKCU/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/fileExts/
    

提交回复
热议问题