Zip File

HelGonHelGon Member Posts: 10
Hi, I need to create a Zip file password protected. anyone knows

Comments

  • garakgarak Member Posts: 3,263
    did you have searched the web for "DLL ZIP Password freeware" ?
    There are a lot of freeware DLLs / OCX to create zip files with password protection.
    This DLLs you define as automation variable and then you can work with it.
    Do you make it right, it works too!
  • HelGonHelGon Member Posts: 10
    Hi. Firts I have tried to use Microsoft Shell Controls And Automation and it works fine. But I cannot find a parameter or function to set a password. Then I tried to use 7Zip and Winrar, but i cannot find a parameter or function to set a password neither.
    Could you tell me wich dll or ocx I can use.
  • garakgarak Member Posts: 3,263
    There is no problem when you use WinRar (or RAR)

    The following example shows you, how to set a Password (parameter -hp) in Winrar (or RAR for commandline).
    C:\WinRAR>rar a -hpMYPassword c:\test.rar C:\exampleFile.text
    

    To know all parameters of Winrar / RAR open the command promt and type
    :>rar -?
    

    Regards
    Do you make it right, it works too!
  • HelGonHelGon Member Posts: 10
    that´s it. Thanks a lot.
  • garakgarak Member Posts: 3,263
    no problem and welcome
    Do you make it right, it works too!
Sign In or Register to comment.