Jump to content

Recommended Posts

Posted

Hi i am new here but not new to autoit and still learning (dont we all)

I was looking into help file about FileCopy command and found that there are not to many options, only 0 1 and 8

Project i am working on has tons of files needed to be copied so i cannot copy them all each time it will take a while.

Instead if i could copy only those that are newer than once in the destination folder ?

Also when files are copied, is there anyway i could make something up that will store all copied files into INI ? so that i can restore only those that were copied .

Thanks

Posted (edited)

xcopy rules ! Powerful and I'm guessing it's gonna be very fast. Why not let it do the work for you ? It's gonna be invisible anyway. (You do know you can call it from autoit, right ? No need to make a batch file or anything)

Anyway, if you want to do it yourself, I'd start by checking out the _FileListToArray function. Once you have 1 array for the source folder and 1 array for the destination, then it's a matter of cross-referencing to check the dates etc.

Edited by Inverted
Posted

Yeah i could use Xcopy but kinda wanted to avoid dealing with CMD.Thanks

_FileListToArray is sweet, i just looked at example script it comes with and i was like WOW thats exactly what i need :D

Thanks friend

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
  • Recently Browsing   0 members

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