please help me. I want to compress pdf files to zip use non custom activity.
You can use Invoke Power Shell ( https://docs.uipath.com/activities/docs/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
- TargetType —>
System.IO.Compression.ZipFile
- MethodName —>
CreateFomDirectory
- 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.