Is it possible to zip a file at OS level, using Lotus Notes agent?

Hi, is it possible to zip a file (using winzip software or any zipping software) at OS level. This zipping activity must be triggered from Lotus Notes Agent using lotus script.

Please advise if it is possible.

Regards,

Kumar.

Subject: Is it possible to zip a file at OS level, using Lotus Notes agent ?

you can probably do it as long as the client has a winzip command line utility (gzip.exe) and then you can Shell out to run it by creating a batch file on the fly using whatever parameters that you need.

Subject: RE: Is it possible to zip a file at OS level, using Lotus Notes agent ?

Assuming the client is running Windows and the disk is formatted with NTFS, you could also shell out and use the native OS command ‘compact /c’. Doesn’t create a zip file, but the end result’s the same.

The full syntax is in XP’s help.

Subject: Is it possible to zip a file at OS level, using Lotus Notes agent ?

maybe use Shell?

Subject: RE: Is it possible to zip a file at OS level, using Lotus Notes agent ?

Hi All,

Thanks for your suggestions and help.

I will try as per your advise.

Meanwhile, I have a concern about agent’s performance if it is being run to zip approximately 400000+ files (text files with size not morethan 4kb each) at one instance.

Can anybody suggest whether this solution is suitable for this scenario.

Overall, I am trying to do the following:

1=> Move 400000+ files into another folder at monthend.

2=> Zip the monthend folder with zip name same as folder name.

3=> Move the zipped file to another working folder.

NOTE: Another external program will get this zipped file from working folder to do someother job.

Kindly advise.

Regards,

Kumar.