Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to make my program start when certain file extensions are opened. For example, when you click on a .zip file in Windows, Winzip starts up.

How would I accomplish this?

share|improve this question

migrated from stackoverflow.com Dec 10 '12 at 21:07

This question came from our site for professional and enthusiast programmers.

I understand you may not be English, but you should spend a little more time on your spelling and grammar to elicit more answers. –  Jivings Dec 10 '12 at 20:58
I think this should go on the SuperUser site. –  Chris Gerken Dec 10 '12 at 21:03

1 Answer 1

That is called a 'File Type association'. Here is how you create and edit them in Win7/Vista: http://www.winvistaclub.com/t19.html

in your case, you would create a file type extension for your custom file type, and then create an association to open files of that type with your java application.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.