Overwritting a file association


N

Nicolas Caron

Hello,

I am trying to have my application overwrite a file type association
when it runs (to allow our users to associate our old file formats to
the newer version of our application).

I am going in HKEY_CLASSES_ROOT\MyFileType.Document\shell\Open\command

There just like I expected the default value points to the associated
application for this file type. That said there is also another value
named "command" of the REG_MULTI_SZ type that contains a bunch of
"random" characters. If I only overwrite the (Default), the file type
is still associated with the old application. If I delete the "command"
value, now the new value put in (Default) is taken into account.

So here's my question :
Is there any potential problems to deleting the "command" key? And if
so, how can I modify it to make sure the files now open with my new
application?

Thanks in advance
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top