Jump to content
Stillgate

Beginner Information

Recommended Posts

Stillgate

Hello, I'm new to AutoIT. I need some help to get started. Here is the task I want to do. 

I have a zip folder on my server. 

I need to download a zip folder (from my server) to C:\Temp

Extract the zip folder to the C:\Temp folder

Run a .bat file as an administrator. 

 

Can you please help me get started?

 

I'm running Windows 7

SciTE-Lite

 

Share this post


Link to post
Share on other sites
FrancescoDiMuro

Good evening @Stillgate, and welcome to the AutoIt forum :)

16 minutes ago, Stillgate said:

I need to download a zip folder (from my server) to C:\Temp

How do you intend to download the file?

Do you have a standard procedure?

You can use FileCopy() to copy the file from the server to the destination path.

18 minutes ago, Stillgate said:

Extract the zip folder to the C:\Temp folder

There are a bunch of UDF ( User Defined Functions ) about Zip management.

You can find more about here.

20 minutes ago, Stillgate said:

Run a .bat file as an administrator. 

You can try to use RunAs() :)

As a new user of this amazing programming language, I feel to suggest you that the Help file is your best friend...

So, if you are searching something, I'd always start from there :)

 

Best Regards.


Click here to see my signature:

Spoiler

Thoughts:

  • I will always thank you for the time you spent for me.
    I'm here to ask, and from your response, I'd like to learn.
    By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

ALWAYS GOOD TO READ:

 

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

×