Unit1.js 421 B

123456789101112131415
  1. function PackResults() {
  2. var url = "C:\\Users\\vendor_qafusi2\\Documents\\EBAE Upload\\Upload Investor Individual\\";
  3. // Exports the results
  4. var fileName = "inv_inda.sdi";
  5. Log.SaveResultsAs(fileName, 2);
  6. // Specifies the name of the archive
  7. var archivePath = url + "inv_inda";
  8. // Packes the resutls
  9. if (slPacker.Pack(fileName, url, archivePath))
  10. Log.Message("Files compressed successfully.");
  11. }