Unit1.js.bak 545 B

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