bleachgames Posted August 31, 2009 Share Posted August 31, 2009 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 More sharing options...
PsaltyDS Posted August 31, 2009 Share Posted August 31, 2009 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; Examplearchive_1archive_2archive_3; Later it compares with my archives in a directory 1 ; Directory 1archive _1.ziparchive _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? 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 More sharing options...
bleachgames Posted August 31, 2009 Author Share Posted August 31, 2009 yes. mine it doubts is as to make script to understand which it is the archive that I want to copyIt´s My txt file. it cannot be modifiedarchive ( 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 More sharing options...
PsaltyDS Posted August 31, 2009 Share Posted August 31, 2009 yes. mine it doubts is as to make script to understand which it is the archive that I want to copyIt´s My txt file. it cannot be modifiedarchive ( 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(). 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 More sharing options...
bleachgames Posted September 1, 2009 Author Share Posted September 1, 2009 thanks , I go to study strings. if to get resulted, comes back here. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now