Register a file in registry




















For more information see How to back up and restore the registry in Windows. In the search box on the taskbar, type regedit , then select Registry Editor Desktop app from the results. Right-click Start , then select Run. Type regedit in the Open: box, and then select OK.

Windows 10 More Need more help? Expand your skills. Get new features first. A subscription to help make the most of your time. For up to 6 people. Premium apps. Try 1 month free. I want to register my own project extension in window registry. I searched on google, at least i found this code, this works well, but I don't understand one line.

There does not seem to be a definitive list of what explorer looks for when creating a command line. Which is why programs that take long file names on the command line need to be able to handle spaces - explorer does this itself by using ',' as a command line seperator, or by allowing filenames on the command line to be enclosed in quotes. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Register file extension in window registry? Ask Question.

Asked 12 years, 2 months ago. Active 12 years, 2 months ago. Viewed 5k times. CreateSubKey ext ; MessageBox. Show exePath ; key. Privacy policy. If you plan to associate one or more file types with a new application, you must define a ProgID for each file type that you want to associate with the application.

Leave the file type mappings unchanged at uninstall time. Leaving file type mappings unchanged avoids the need to have conditional code that only removes the file type mapping if the value still points to your ProgID. It is important to avoid doing so in cases where it might have been changed by another application and you thus cannot easily remove the value.



0コメント

  • 1000 / 1000