kaiiii
5 years agoRegular Contributor
Convert mht file to zip
How can I convert a mht file into zip ?
- 5 years ago
Hi kaiii,
I have a test which compress and send by mail a mht file.
Here are the few lines I use (delphi script) :
Log.SaveResultsAs(ReportFolder + 'Report.mht', 2); FileList:= slPacker.GetFileListFromFolder(ReportFolder); ArchivePath:= ReportFolder + 'ZippedReport'; if (slPacker.Pack(FileList, ReportFolder, ArchivePath)) then Log.Message('File ziped'); result:= ArchivePath;