Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How to zip the directory in a required format

by Athanasius (Archbishop)
on Oct 28, 2015 at 06:28 UTC ( [id://1146230]=note: print w/replies, xml ) Need Help??


in reply to How to zip the directory in a required format

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:

Select a Destination and Extract Files

Files will be extracted to this folder:

...\out\sample

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.

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: How to zip the directory in a required format
by sanvin (Novice) on Oct 28, 2015 at 09:48 UTC
    I use 7 Zip and always select the option " Extract Here". This can't be changed. So, i am looking into ways where the code can be modified

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1146230]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-19 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found