Click here to Skip to main content
15,898,718 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How create a Folder.
While copying a file from one location to another location using windows application in C#
Posted
Comments
Sergey Alexandrovich Kryukov 27-Mar-12 17:51pm    
What is broken? MSDN? Google? Bing?
--SA

Here you can find a good material to read.

http://www.dotnetperls.com/directory-createdirectory[^]

http://www.dotnetperls.com/file-copy[^]

In .Net these kind of operations are very simple to implement. Check the guides I suggested and if any, feel free to ask.

Cheers
 
Share this answer
 
C#
if (!Directory.Exists(UploadFileFolderPath))
{
   Directory.CreateDirectory(UploadFileFolderPath);
}


//UploadFileFolderPath is the path to create new folder
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900