Answer the question
In order to leave comments, you need to log in
How to associate files with an application and open it with this application (instead of another)?
In general, I did the following for file association:
"HKEY_CLASSES_ROOT/.ext/." = "nameApplication"
"HKEY_CLASSES_ROOT/nameApplication/shell/open/command/." = "путь к application.exe"
HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/FileExts/.aed/UserChoice
Answer the question
In order to leave comments, you need to log in
After changing the registry, you need to send a signal to the system "update associations", here is an excerpt from Google "Microsoft documents that the official procedure for creating file associations is through modification of the registry. The only other API you need to call is SHChangeNotify, with SHCNE_ASSOCCHANGE, to tell running applications that associations have changed." need to google in that direction
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question