Jump to content

help me function


Recommended Posts

Greetings to all the users.

Help to create function.

Necessary that script reads a text archive contend the name of my archives without the extension

; Example

archive_1

archive_2

archive_3

; Later it compares with my archives in a directory 1

; Directory 1

archive _1.zip

archive _2.zip

archive _3.zip

archive _4.zip

Script must copy the specified archives do.txt for another directory inside “directory 2"

In case that it has some archive in the destination that is not in .txt will have to exclude.

I’m sorry for the my English.

Link to comment
Share on other sites

Greetings to all the users.

Help to create function.

Necessary that script reads a text archive contend the name of my archives without the extension

; Example

archive_1

archive_2

archive_3

; Later it compares with my archives in a directory 1

; Directory 1

archive _1.zip

archive _2.zip

archive _3.zip

archive _4.zip

Script must copy the specified archives do.txt for another directory inside “directory 2"

In case that it has some archive in the destination that is not in .txt will have to exclude.

I’m sorry for the my English.

Welcome to AutoIt.

So, what have you done so far? Have you downloaded AutoIt and the full version of SciTE4AutoIt3? Have you reviewed the help file and done the basic tutorials there?

:D

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

yes. mine it doubts is as to make script to understand which it is the archive that I want to copy

It´s My txt file. it cannot be modified

archive ( name bios description "0 Bios 0" driver "BIOS" driver "BIOS")

archive ( name bios2 description "0 Bios 1" driver "BIOS" driver "BIOS")

archive ( name bios3 description "0 Bios 2" driver "BIOS" driver "BIOS")

archive ( name bios4 description "0 Bios 3" driver "BIOS" driver "BIOS")

archive ( name bios5 description "0 Bios 4" driver "BIOS" driver "BIOS")

how script goes to read and to understand that I want to copy bios4.zip?

Link to comment
Share on other sites

yes. mine it doubts is as to make script to understand which it is the archive that I want to copy

It´s My txt file. it cannot be modified

archive ( name bios description "0 Bios 0" driver "BIOS" driver "BIOS")

archive ( name bios2 description "0 Bios 1" driver "BIOS" driver "BIOS")

archive ( name bios3 description "0 Bios 2" driver "BIOS" driver "BIOS")

archive ( name bios4 description "0 Bios 3" driver "BIOS" driver "BIOS")

archive ( name bios5 description "0 Bios 4" driver "BIOS" driver "BIOS")

how script goes to read and to understand that I want to copy bios4.zip?

Back to the help file.

Try _StringBetween(), and when you feel more advanced StringRegExp().

:D

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
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
 Share

  • Recently Browsing   0 members

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