compressed(zipped) folder

  • HI,

    i would like to unzip the compressed folder using dos/batch file..what command is to be used for this?

    Thanks.

  • Expand should do the trick for you.

  • Nopes, Expand does not help any way, it copies the same compressed file again to the new location that is specified.

  • Look up 7zip (http://www.7-zip.org/). It's open source (free) and has a command line interface that will compress/decompress zip files.

  • I can not rely on the free source for a longer run as its the project i am on. Secondly i am looking to integrate this tool in my SSIS Package, Any more ideas would be helpful.

    Regards

    Sandesh

  • What application are you using for the unzip process?

  • so far i have only been using system.io.compression namespace and now i am thinking of any unzip application that can be used. I explain...

    The process is, i download the files from HTTPS, this are zip files. ( Download Works Fine) but i am more bogged down with the uncompress process for the file.

    Guys your help is appreciated. Even the clues will certainly be helpful.

    Regards

    Sandesh Kadam

  • You can use the last DOS version of PKZIP.exe to unzip zipped file. PKZIP is old but still works. It can be downloaded from http://www.salokin.demon.co.uk/dos_utils.htm

    Regards

    Peter

  • I've developed DTS packages that collected zip files from FTP sites and then unzipped to do the magic. I used WinZip (had to buy a copy). They have a Command Line reference that comes in very handy.

  • The project requires that you use proprietary software?

  • I too have used the winzip command line and it works great.

  • I used to love winzip command line, but it seems some security configuration has changed in Server 2000 and 2003 (We keep most of our server up to date with Microsoft Update). WinZip command line no longer seems to work when I call a .cmd or .bat file from within Sql 2000 or 2005. I'm hoping it won't occur if I call the .cmd file from within a scheduled task, but I'm betting it will. I'll update the status of that. This only occurs if no one is logged onto the server, which is usualy the case with a server. So I'm now actually looking for alternatives...

  • Hi,

    WinZip will not work on DOS prompt, instead use PKUNZIP.

    Munaf

     

  • To all,

    Thanks very much for the most valuable tips as i used winzip command line to unzip the files. It is handy and would certainly need to buy the stuff...

    Will bring some more real brn' sweating problems to keep us alive.

    Read more

    Cheers

    Sandesh(SK)

  • Hi,

    i'd recommend gzip, which is gnu zip, open source and free.

    http://gnuwin32.sourceforge.net/packages/gzip.htm

    regards

    karl

    Best regards
    karl

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic. Login to reply