Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open self-extracting zip AND provide the password

Status
Not open for further replies.

Donald

Programmer
Joined
Mar 13, 2000
Messages
15
Location
CA
Hi all,

I'm writing an automation that includes unzipping a self-excecutable zip file which has password protection. I need to start the decompression and then feed in the password.

I need to use java or perl to do this. The only things I've found so far use tcl/tk or assembler (for Pet's sake).

I'd appreciate any ideas or links.
 
Use the Perl "system" command to execute the file at the command line.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
Thanks for your reply.

The execution of the self-extracting zip file is not the problem. The password cannot be fed to the file. I haven't been able to find an argument for it (ie. selfExtractFile.zip -pw=password) and I don't know how to communicate to the process once it's started.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top