Repairing file associations

Have two versions of the same software that open the same file extension? Having trouble getting windows to open the right one. We had this same problem with Crystal reports (.rpt extension), but setting it in the file types options in windows did not work. However the bottom command worked in our citrix farm. Don’t put this is a batch file because the %1 doesn’t flow correctly.

change user /install
assoc .rpt=rpt_auto_type
ftype rpt_auto_type=”C:\Program Files\Business Objects\Crystal Reports Viewer 2008\CrystalReportsViewer.exe” “%1″
change user /execute

line
footer