Link to home
Start Free TrialLog in
Avatar of brothertruffle880
brothertruffle880Flag for United States of America

asked on

Where do I change the file-extension/Application rela

I have a program with a xyz extension that opens using program1 when I double-click it.  
When I right click this file I see OPEN WITH and Program1 and Program2 show up on th list of OPENWITH.  

I would like to have this file open with program2 when I double click it rather than program1.

I understand there's a change I need to make in the registry.  Can someone point me in the right direction?
ASKER CERTIFIED SOLUTION
Avatar of CWCertus1
CWCertus1

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Try this.  Right click the zyx file and choose the Open With, Choose a Program and select the Program2 and look for the checkbox for     Always use the selected program to open the file.   Put a check in that box.

run regedit with admin access. follow HKEY_CLASSES_ROOT\.xyz\ShellNew
under shell new point to program 2
You can change this in Windows Explorer by going to the Tools -> Folder Options menu and selecting the File Types tab at the top. Select the extension you want to change and click on the Change button.