Hi All,
I am getting directoryinfo (name, path etc) and files present in that directory...
However, BEFORE copying these directory and files from one location to another.. I want
remove particular directories and files from these array. Then I will pass this updated array for copying.
So, how can i update this array ??? Below is my code
' First getting root structure... Dim dirDirectoryInfo As DirectoryInfo = New DirectoryInfo(strSourceVolumePath) Dim dirSubDirectories As DirectoryInfo() = dirDirectoryInfo.GetDirectories() ' then files present in root structure Dim files As FileInfo() = dirDirectoryInfo.GetFiles()
So, i am using this above code... I need to use the same arrays to copy files
any help on this appreciated..
Regards,
Rohit