discern between file and folder given path vb.net code example
Example: discern between file and folder given path vb.net
Dim isDir As Boolean = (System.IO.File.GetAttributes(path) And
System.IO.FileAttributes.Directory) = FileAttributes.Directory