Hello. Currently here is the code I use to copy an entire folder:
Microsoft.VisualBasic.FileIO.FileSystem.CopyDirectory("\\share\folder", "\\destshare\folder", True)
The issue I'm having is a file like "thumbs.db" when trying to be copied results in an error:
"Error is could not complete operation on some files and directories. see the data property of the exception for more details."
is there any method to copy an entire folder and it's contents and ignore certain file types? Much appreciated if someone can show me a solution for such a thing.
thank you very much.