cancel
Showing results for 
Search instead for 
Did you mean: 

How to zip the files and password protect?

former_member241220
Participant
0 Kudos

Hi All,

I have a requirement extract the zip files and load into a particular folder ( Like Archive folder). what i need is I want to save the files in zip format and password protect. Can you please guide me how to zip the files and password protect.

Thanks and Regards,

Murali.

Accepted Solutions (1)

Accepted Solutions (1)

former_member241220
Participant
0 Kudos

Hi All,

Please guide me how to zip my files and apply password to that zip file. It is very urgent requirement.I have been struck here.

I have files in zip format in folder ( D\:Incoming ), i unzip the files and move the files into another folder (D:\File_process) and extract the files from File_process folder and load into target database. Once complete loading process,I have to move files into another folder(D:\Archive). But In Archive folder my files should be in zip and password protect.

I have done all process except zip the files and password protect.

Please your help appreciate.

Thanks

Murali

0 Kudos

Hi Murali,

Create VB script for unzip, zip, move the files to another folder and execute this VB script in BODS script using EXEC function.

BR,

Srinivasan.

former_member241220
Participant
0 Kudos

Hi Srinivasan,

Thanks for your swift reply.

How to provide password to that zip file?

Thanks

Murali

0 Kudos

There is a arguments while creating zipfile using VB script.

for ex:-

"C:\Program Files\WinZip\WINZIP64.exe" & " -min -a -s""Password"" -r """ & <ZipFileToCreate> & """ " & <FilesToZip>

BR,

Srinivasan.

former_member241220
Participant
0 Kudos

Thanks Srinivasan..

Answers (0)