Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

delete all dir content c#

 new System.IO.DirectoryInfo(@"C:Temp").Delete(true);

 //Or

 System.IO.Directory.Delete(@"C:Temp", true);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #dir #content
ADD COMMENT
Topic
Name
2+7 =