Link to home
Start Free TrialLog in
Avatar of LIULIHUA
LIULIHUA

asked on

Unzip txt file by using *.txt?

Hi experts,

I can unzip a txt file by using the code below, however, I have more then 70 txt files that need to done in one procedure, how can I do? please advice. Thank you.

EXEC master..xp_cmdshell 'C:\Progra~1\utility\WinZip\winzip32 -e C:\DATA\FTP_Download\ca_account_sales_org.zip C:\DATA\FTP_Download\ '
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Perhaps you would consider using DTS instead of xp_cmdshell ?
Avatar of LIULIHUA
LIULIHUA

ASKER

Would you please show me how? thanks.
ASKER CERTIFIED SOLUTION
Avatar of rafrancisco
rafrancisco

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is big help, can I know how to do this using DTS?