function PackResults() { var workDir = "C:\\Users\\vendor_qafusi2\\Documents\\EBAE Upload\\Upload Investor Individual\\"; var packedResults = "C:\\Users\\vendor_qafusi2\\Documents\\EBAE Upload\\Upload Investor Individual\\"; // Exports the results var fileName = "inv_inda.sdi"; Log.SaveResultsAs(fileName, 2); // Specifies the name of the archive var archivePath = packedResults + "inv_inda"; // Packes the resutls if (slPacker.Pack(fileName, workDir, archivePath)) Log.Message("Files compressed successfully."); }