Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# delete file if exists

if(File.Exists(@"C:	est.txt"))
{
    File.Delete(@"C:	est.txt");
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #file #exists
ADD COMMENT
Topic
Name
8+5 =