Create a folder in asp.net
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Deepak Bhatia142 reputationPosted Aug 5, 2010, 3:44 AM EDT
Write exactly what you want
santhosh kumar81 reputationPosted Aug 5, 2010, 4:19 AM EDT
I want to create a folder with one unique number a runtime.
Deepak Bhatia142 reputationPosted Aug 5, 2010, 8:18 PM EDT
string currentPath = Server.MapPath("nameofTheFolderWhereNewFoldersAreToBeCreated");
currentPath += "\\NameOFTheFolderToBrCreated";
System.IO.Directory.CreateDirectory(currentPath);