good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: How to zip the directory in a required formatby Athanasius (Archbishop) |
on Oct 28, 2015 at 06:28 UTC ( [id://1146230]=note: print w/replies, xml ) | Need Help?? |
Hello sanvin, Always the unzipping is done manually selecting the option " Extract Here ". When I run your script on my system (Windows 8.1), I get this zip file: ...\out\sample.zip. Then when I right click on it in Windows Explorer, and select the Extract All... option, it gives me:
Then when I click Extract, it extracts the contents of sample.zip into the out\sample subfolder, creating additional subfolders as needed, and unzips files into their correct locations. So, how are you extracting the zip file? Update: If you instead use the excellent 7-zip, choose the Extract to "sample\" option.
In Section
Seekers of Perl Wisdom
|
|