January 24, 2007 at 4:57 pm
How do I unzip a file using code in a Script Task in an SSIS package? Would appreciate any kind of input on this.
Thanks,
Monisha
January 24, 2007 at 10:10 pm
January 24, 2007 at 11:31 pm
January 25, 2007 at 10:25 am
Thanks for your input. I will use execute process method, and I do have winzip installed on the box but no winunzip.exe file is a part of that install. This is probably not the right forum for this, but if you have any suggestions at all it will be much appreciated.
Thanks again,
Monisha
January 25, 2007 at 12:19 pm
Go to the website for winzip and download the optional winzip command line.
The executable "wzunzip.exe" is the command-line unzipper that can be easily called from an exec process task.
January 25, 2007 at 3:24 pm
wzunzip.exe" is the command-line unzipper is not available for Win 2003 Server. I just checked and we have the Integration Services running on a Win 2003 server.
Any other inputs will be much appreciated.
Thanks.
January 25, 2007 at 5:16 pm
Check windows COMPACT command with /U switch...
MohammedU
Microsoft SQL Server MVP
January 25, 2007 at 5:25 pm
The windows compact command with the /u option does not seem to work:
C:\Documents and Settings\Administrator>compact /u "C:\ETL\POSData\IngramWeekly
INVEN.ZIP"
Uncompressing files in C:\ETL\POSData\IngramWeekly\
0 files within 1 directories were uncompressed.
Any other inputs will be appreciated.
January 26, 2007 at 12:54 pm
Sorry! my bad... I didn't check the correctly that command...
Looks like you are out of luck.... you can use free third party command utilities..
http://www.picozip.com/command-line.html
MohammedU
Microsoft SQL Server MVP
January 30, 2007 at 11:02 am
Thanks that helps.
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply