Forums - C# Corner

Forum guidelines
darma teja

darma teja

  • 967
  • 402
  • 154.3k

Copy directory with only specific extension files

Nov 25 2012 7:10 AM
Hi,

I have problem in copying only specific extension.

My code copy to folder is:

 Microsoft.VisualBasic.FileIO.FileSystem.CopyDirectory(oldpath, newpath);

But I want to copy only specific file extension.


Thanks,

Darma



Answers (1)

techbash 2016

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!