Jump to content
Sign in to follow this  
mdcotter30

file copy script

Recommended Posts

mdcotter30

Hello everyone,

I am new to auotit and I need to write a script that adds to a file copy script that I have already written that does a comparison of the files that are in each directory to verify that the data copied correctly. Here is my file copy script"

FileCopy ("C:\Source Test", "C:\Dest Test")

thanks

Share this post


Link to post
Share on other sites
SadBunny

Hello everyone,

I am new to auotit and I need to write a script that adds to a file copy script that I have already written that does a comparison of the files that are in each directory to verify that the data copied correctly. Here is my file copy script"

FileCopy ("C:\Source Test", "C:\Dest Test")

thanks

Ok, so what exactly is your question now?


Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites
mdcotter30

Ok, so what exactly is your question now?

just wondering how i would go about writing a script that does a file comparison of two files that are in each directory to verify that the data copied correctly.

thanks

Share this post


Link to post
Share on other sites
Kip

If you wanna copy a file you must include the filenames: FileCopy ("C:\Source Test\test.txt", "C:\Dest Test\test.txt")

Share this post


Link to post
Share on other sites
Shevilie

He wants to verify that the file is copyed correctly :) Its not the copy part that is the problem..

One idea was to get the exact filesize and compare them or do a hash check... Try search on those things here


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

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
Sign in to follow this  

×