Alright, so it is very easy to copy one directory to another with this-
The only problem is, this overwrites the existing directory. I would like to "merge" the two directories. Now this seems simple because you can justCode:My.Computer.FileSystem.CopyDirectory("C:\TestDirectory1", "C:\TestDirectory2", True)
change the "True" to "False" like so-
This would normally work fine, but the two directories I am merging, have some of the same named files.Code:My.Computer.FileSystem.CopyDirectory("C:\TestDirectory1", "C:\TestDirectory2", False)
So how do I make it "merge" the folders, but "overwrite" the duplicate files/folders (without asking the user)?
Any links/examples are much appreciated!
Hunter


Reply With Quote