How to compress pdf files to zip format?

please help me. I want to compress pdf files to zip use non custom activity.

You can use Invoke Power Shell ( ) where you give Compress-Archive as CommandText, and add Path and DestinationPath as Parameters to the command.

Hi @zzangkim89,

You can zip a folder of pdf’s by using Invoke Method activity with

  1. TargetType —> System.IO.Compression.ZipFile
  2. MethodName —> CreateFomDirectory
  3. create 2 parameters (In direction String) in parameter collection 1st with folderpath (pdf folder), 2nd with expected zip path with .zip extension.


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.