Menu

#555 Command line compression not givng the same results as GUI

open
nobody
None
2
2024-05-06
2024-05-06
No

I am trying to use 7-zip through PowerShell using this command: C:\'Program Files'\7-zip\7z.exe a -tzip -mx=5 "$ZipFilename" -Path "$SpurceFiles". The zip file is created with no issues, but when loading to Oracle EPM is says that it is unable to unzip the file. However if I create the same zip in the GUI using the following setting, EPM has no issues with it.
Archive format: zip
Compression level: 5-Normal
Compression method: Deflate
Word size * 32
Encryption method: ZipCrypto

Is there a way to see what the command line is that the gui is sending out? Is there something I am missing in the above command line?

Thank you

Discussion

  • Trevor Strike

    Trevor Strike - 2024-05-06

    I need help on this ASAP as we need to get this fixed so that the automation works as it should be.

    Thank you

     
  • Igor Pavlov

    Igor Pavlov - 2024-05-06

    -Path switch sets password.

     
  • Trevor Strike

    Trevor Strike - 2024-05-06

    Thank you Igor, that fixed my issue. Sorry I missed that in the switches.

    Thank you

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.