January 16th, 2009

You cannot pre-emptively reserve a file extension

The following question came in from a customer:

If our program isn’t installed and users double-click our document, they get sent to a Web site that presents a list of programs, but we want to send the user directly to our download site. How do we claim a file extension for our application?

Um, you don’t.

You cannot pre-emptively reserve a file extension. If your program uses the extension .ABC and somebody off in another country working out of a garage also uses the extension .ABC, then that’s fine. Of course, things get exciting when a user installs both your program and the garage program, but that’s a conflict for the user to resolve. It is not your position to declare unilaterally that you are more important than that person in a garage.

What you can do is list your program among the ones that support the .ABC extension, so that when the user double-clicks an .ABC document and no program is installed to handle it, the user is sent to a Web page that includes your program as one which can open that file. But this doesn’t grant you exclusivity. You’ll just show up on the list with everybody else who wants to claim that file extension.

Topics
Other

Author

Raymond has been involved in the evolution of Windows for more than 30 years. In 2003, he began a Web site known as The Old New Thing which has grown in popularity far beyond his wildest imagination, a development which still gives him the heebie-jeebies. The Web site spawned a book, coincidentally also titled The Old New Thing (Addison Wesley 2007). He occasionally appears on the Windows Dev Docs Twitter account to tell stories which convey no useful information.

0 comments

Discussion are closed.