Sign in to follow this  
Followers 0
440LVB

Overwrite older files in subdirectories

2 posts in this topic

Hello

Do you know a simple way to overwrite only older files (with same name) in the current directory, and in subdirectories too?

DirCopy() works well, but you can only say "overwrite" or "don't overwrite", with no condition.

Any help will be appreciated

Share this post


Link to post
Share on other sites



Done with xcopy with options /E /D

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  
Followers 0