Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Check Directory Exist

//check directory exist
string directoryExistPath = @"C:UsersYogeshkumar HadiyaDesktopDirectoryHandling";
if (Directory.Exists(directoryExistPath))
{
    Console.WriteLine("Directory exist");
}
else
{
    Console.WriteLine("Directory not exist");
}
Source by www.yogeshhadiya.in #
 
PREVIOUS NEXT
Tagged: #Check #Directory #Exist
ADD COMMENT
Topic
Name
3+1 =