How to compress files using VBScript

Compression is a method to package multiple files into a single file so that the packaged files can be transferred over internet without any data loss. Some additional benefits of compressing files are that it decreases the aggregate file size (when compared to sum of file sizes of the same individual files). Through VBScript we can compress files in an automated manner. This can be utilized in several use cases. For example: When we need to send multiple log files after test execution through email. 

This page has functions to show how to compress files using VBScript through Zip or WinRar

How to unzip a folder using VBScript

How to compress files using vbscript through Winrar

Follow Us
Want us to add
more code ?