Solved

Windows Explorer and WinZXip

Posted on 2014-01-10
4
493 Views
Last Modified: 2014-01-13
I go to a file in Windows Exploere, and I Rt click the file, Clock on WInZip, and click Add to FIle

I select a jar file in which to place this file into, and hit ADD

It briefly brings up WinZIP, and I see a pop up box saying

Your file has been added, The files will be compressed when saved

I clock OK, and then the WinZip app disappears

When I am done the jar file I put the file into has a zip file with its same name and a .zip extension, but the jar file is still of the same size in bytes

How do I complete the process and save the file, such that the contents of the zip file will be placed into and saved in the jar file

Thanks
0
Comment
Question by:Los Angeles1
4 Comments
 

Author Comment

by:Los Angeles1
ID: 39772234
Perhaps someone could post a tutorial ?
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 39773004
Can you not just drag the file and put it in the .jar file?
0
 
LVL 29

Expert Comment

by:Sudeep Sharma
ID: 39773007
In my opinion you should first extract the jar in some folder. Add the files to the folder then use Winzip to create a new jar file.

Sudeep
0
 
LVL 47

Accepted Solution

by:
dbrunton earned 500 total points
ID: 39773058
Jar files are zip files.  See https://en.wikipedia.org/wiki/JAR_%28file_format%29 for the details.

Unzipping utils such as WinZip should be able to read and extract the contents.  Adding is another story.  I tried a util called 7Zip.  It could read but not add.

If you have Java on your computer you should have access to the jar utility.  This can add files to a jar file but the syntax for using it is horrible, see http://docs.oracle.com/javase/7/docs/technotes/tools/windows/jar.html and not for the faint of heart.

Jar files also contain a manifest file and if you add a file to your jar collection you may also have to update the manifest file.  In which case you must use the jar util to do this.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Lockdown of laptops 10 38
M2 drive not showing up 16 62
Connecting two servers 30 48
Disabling Admin account 1 39
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now