J
Java and Swing
I have a directory structure that I am going to zip up, such as...
c:\
foo\
abc.txt
bar\
myinfo.doc
mynotes.xls
zoo\
animals\
elephant.jpg
so I zip up the entire C: directory (in this case it only has three
directories and four files). So when I attempt to unzip this file on
some other hard drive, I want it to extract the files and put them into
their correct directories, i.e. foo\, bar\, zoo\animals. How do i do
this? I know I can extract a file from the zip, but don't I have to
first make sure the path exists before I can extract it properly?
thanks
c:\
foo\
abc.txt
bar\
myinfo.doc
mynotes.xls
zoo\
animals\
elephant.jpg
so I zip up the entire C: directory (in this case it only has three
directories and four files). So when I attempt to unzip this file on
some other hard drive, I want it to extract the files and put them into
their correct directories, i.e. foo\, bar\, zoo\animals. How do i do
this? I know I can extract a file from the zip, but don't I have to
first make sure the path exists before I can extract it properly?
thanks