By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,930 Members | 2,018 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,930 IT Pros & Developers. It's quick & easy.

zipfile handling

P: n/a
is there a rename utility for zipfile that can rename a directory
inside a zipfile? also what's the best way to change the a file
content inside a zip?

So if i have the following file in the zip file:

A/a1.txt
A/a2.txt
B/b1.txt

I want to rename A to be A1, and B to be B1, as well as changing the
content of a1.txt and b1.txt.

I can certainly extract them to filesystem then rezip, but there might
be a better way to do this?

thanks.

Nov 7 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
ad-hoc wrote:
is there a rename utility for zipfile that can rename a directory
inside a zipfile? also what's the best way to change the a file
content inside a zip?

So if i have the following file in the zip file:

A/a1.txt
A/a2.txt
B/b1.txt

I want to rename A to be A1, and B to be B1, as well as changing the
content of a1.txt and b1.txt.

I can certainly extract them to filesystem then rezip, but there might
be a better way to do this?

thanks.
Nope not a better way. The zipping requires that you go through the process to
get a proper zip file.

-Larry
Nov 8 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.