Zip a folder using SSIS

前端 未结 3 1085
没有蜡笔的小新
没有蜡笔的小新 2021-01-14 15:44

I am trying to zip a Folder in SSIS, there are 12 files in the source folder and I need to zipthat folder. I can get the files to zip fine my problem is the folders.

3条回答
  •  渐次进展
    2021-01-14 16:43

    Write these things in bat file... "C:\Program Files\WinZip\WINZIP64.EXE" -a "C:\Desktop\destination_folder\Sample.zip" "C:\Desktop\Sample"

    In Execute process task:

    Mention the location of bat file in Execute process Task-->Process-->Executable.

    It's work fine.

提交回复
热议问题