Jump to content

How to Unzip and open file


Go to solution Solved by oapjr,

Recommended Posts

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 ?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 8 months later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...