What is the best way to copy a folder and all subfolders and files using c#

Posted by karthik on Stack Overflow See other posts from Stack Overflow or by karthik
Published on 2010-04-30T04:29:52Z Indexed on 2010/04/30 4:47 UTC
Read the original article Hit count: 212

Filed under:

I need to copy a Folder from one drive to a removable Hard disk. The Folder which needs to be copied will have many sub folders and files in it. The input will be Source Path and Target Path.

Like..

Source Path : "C:\SourceFolder"

Target Path : "E:\"

After copying is done, i shud be able to see the folder "SourceFolder" in my E: drive.

Thanks.

© Stack Overflow or respective owner

Related posts about c#