I have to zip all the files inside a folder. I don’t to zip that folder.
and I don’t file names.
How do I do it
Hi,
you have zip custom activities available. Try installing it/
I have used it. It is zipping a folder
I want files to be zipped
I think this is work.
- Get all file name with system.io.directory.getfiles(“folder path”)
Directory.GetFiles Method (System.IO) | Microsoft Learn - Use invoke PS to compress
How to create a zip archive with PowerShell? - Stack Overflow
rgds,
What I have to enter here? I dont know file names
the files are inside that folder which you need to zip?
yes!!
just give till …\obj\folder . It will zip the entire folder
I dont to zip a folder. If u zip it u will get folder inside folder
This activity is showing path cannot be empty
This is very interesting requirement.
As per what I understand, you can perform the following steps:-
- For each item in directory.getfiles(“folder path”)
- convert to zip from (“item.tostring”) to (“item.tostring”)
I dont want every file to zip. I wnt grp of files to be zipped.
with zip activity is it possible please send it
I know this activity.But check my requirement
Hi @KarthikBallary,
Yes. you can do it…The marked property is a string array . So you can add more files.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.