Overwritting a file type association

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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

--
"So we are told this is the golden age, and gold is the reason for the
wars we wage" - U2, New year's day
.



Relevant Pages

  • Re: Overwritting a file type association
    ... when it runs (to allow our users to associate our old file formats to ... If I only overwrite the, the file type ... Is there any potential problems to deleting the "command" key? ... Deleting it seems the right thing to do. ...
    (microsoft.public.win2000.registry)
  • Overwritting a file association
    ... 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 ... Is there any potential problems to deleting the "command" key? ...
    (microsoft.public.win2000.developer)
  • Re: Repost: Code behind events are not firing
    ... IE in a separate window through http. ... unchecked in the file type configuration. ... When a browser runs Word on the command line, ...
    (microsoft.public.vsnet.vstools.office)
  • Re: I hate Word
    ... I just looked for an import command and no luck, ... do that if you select "text" file type in the open dialog. ... Works great for s-param files in pdf. ... smith chart app. ...
    (sci.electronics.design)
  • Re: assoc/ftype problems
    ... HKCU allows for unique customization of file type associations in the user's ... Entries in HKCU take precedence in the event of a duplication. ... the command line of a console running CMD.EXE are processed according ... | C:\>ftype Perl ...
    (microsoft.public.windows.server.general)