;Make sure to include this file at the same level of the file/directory ;you wish to compress .OPTION EXPLICIT .Set CabinetNameTemplate= name of output container .Set Cabinet=on .Set Compress=on ;List all files in top directory "file-1" "file-2" "file-3" ;..... "file-n" ;Specify child directoy and any files contained within ;you can repeat this step for any number of directories .Set DestinationDir = child_directory_name "child_directory_name\file-1" "child_directory_name\file-2" "child_directory_name\file-3" ;...... "child_directory_name\file-n"