Copying files to directory with same file names in it.

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

craftee

Thread Starter
Joined
Jun 29, 2005
Messages
94
Hi Guys,

I've managed to get two directories with the same files in them but different versions, it's a total of over 300 files.

Some of the latest versions are in one directory but some of the latest versions are in the other.

If I try to copy the files from one to the other, windows will either overwrite or skip the files, not much help.

What I need to do is to only overwrite the file if the existing file is older.

I bet it's really simple, but I can't think how to do it. :eek:

Looking forward to hearing from you (please be gentle).

Regards,

Paul
 

craftee

Thread Starter
Joined
Jun 29, 2005
Messages
94
Hi Huggie54,

Thanks for the link.

Unfortunately I don't think it's related to my problem.

I'm simply copying files from one directory to another, I'm not using Backup and Restore.

Regards,

Paul
 

TerryNet

Terry
Moderator
Joined
Mar 23, 2005
Messages
80,914
It appears that xcopy may do the job for you. If I were doing it I'd create a couple small folders to test first.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top