Jump to content
Sign in to follow this  
lucius100

How to Unzip and open file

Recommended Posts

lucius100

I found this >zip.au3 , so i want to ask if that script support for password protected zip?

For example, here i have test.zip with 12345 as password , inside that contain test.txt

So how do i script it to unzip protected test.zip to %systemdrive% and open test.txt after finished unzip ?

Share this post


Link to post
Share on other sites
lucius100

Okay, so i decided to create it without autoit

How do i script autoit to open zip and enter the password?

Here is example of my file

box.zip - inside  > box.exe - inside > after enter password it will extract box.jpg to system drive.

i try to script auto open and enter password, because i don't want anybody to know the password.

 

Run ("Box.exe")

Global $App = "Enter password"
WinWait($App)

ControlSend($App, "", "Edit1", "{test}")
i try to use this, but doesn't do anything after open the file.
 
Edit : Lack administrator, problem solved  :thumbsup:

box.zip

Edited by lucius100

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.