Forums - C# Corner

Forum guidelines
darma teja

darma teja

  • 518
  • 238
  • 148.2k

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)

C# Corner Hyderabad Developer Conference

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.