Jump to content

File copy to only copy files that are new or changed


 Share

Recommended Posts

I've tried that line of code

RunWait(@ComSpec & " /c " & "xcopy " & '"C:\Applications\AutoIt Scripts" "H:\Backup\Applications\AutoIt Scripts" /D /E /C /R /H /I /K /Y')

I even tried that:

Run("cmd.exe")

sleep(1000)

send ("xcopy c:\sample.txt c:\sample")

result is for both the same (described in post above). But it seems to work if i use copy instead of xcopy.

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...