The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

What I meant...

Posted by Hiran on January 21, 2002 at 5:01 PM

But how do I get my program to change the file associations? Because I would want to change the file associations on customers' computers so that when they double click on my JAR files, they open up like an exe.
Hiran

> Oops -- I didn't notice the question in the subject and was wondering why you had added nothing to the text of the message.

> Anyhow, depending upon your version of Windows, there will be a Folder Options menu choice either under the View or the Tools menu of Explorer. In the Folder Options dialog, there will be a tab for File Types. Annoyingly, the types are sorted by the descriptive name (which makes it hard to tell whether a particular file extension is already associated), so first go look at the file type in question in explorer and see if it has some description in its type other than "JAR File". If it does, that is what you want to find and change the the File Types list (if not, then you can just add a new association). YOu can also look up "file associations" in the Windows help and it will give you all the lowdown.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us