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 have a few EAR/WAR files which are Java archives and I would like Windows 7 to open these files the way it opens a file with extension zip.

So I open this war file and in the list of softwares available with "Open" I see MS Word, Notepad etc but nothing about CompressedFolderView.

I also tried manually specifying the location of exe (I thought this was expand.exe) but that does not work. Does someone know if I can make this work? Or should I use Winzip or some such utilities?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

7zip will work, simply associate the ear/war extension with it.

share|improve this answer
    
Thanks DHayes. I can indeed use Winzip or 7zip but I would prefer to use the windows-7 viewer if possible. If there isnt a solution posted in say 3 days I will fall back to this solution :) –  Calm Storm Apr 21 '10 at 14:56

If you tell Windows that JAR, WAR and EAR files are compressed folders, Explorer will show you what is inside without having to rename them to ZIP. Very helpful when there is a JAR inside a WAR.

Run this in an Administrative Command Prompt window:

assoc .jar=CompressedFolder
assoc .war=CompressedFolder
assoc .ear=CompressedFolder

(Better late than never)

share|improve this answer
    
One of the coolest, simplest new finds ever! +1 Thanks. –  LMSingh Sep 29 '14 at 18:18

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.