|I need help with a project in Visual Basic. What I need done is to have a program copy files from one directory to another. But that's not just it! I need it to copy ONLY files that aren't already there. In other words, if folder "A" has files 1, 2, 3, 4, 5, 6, 7, and 8, and folder "B" has files 1, 2, 3, 4, and 5, I want it to copy from "A" to "B", files that it doesn't have like 6 and 7 and 8. But what I don't want is to have 1, 2, 3, 4, and 5 copied since it is ALREADY there! Can anyone please tell me the code that I need to have if I am copying from C:\test to C:\test2 (assuming that both folders have the same files except "test" has more files than "test2" and I only want to copy the extra files from "test") ?|
Please write back ASAP!!! (As Simple As Possible) ;-)
I could either use VB or use Batch but I need an answer QUICK!!!