discern between file and folder given path vb.net

The solution for “discern between file and folder given path vb.net” can be found here. The following code will assist you in solving the problem.

Dim isDir As Boolean = (System.IO.File.GetAttributes(path) And
System.IO.FileAttributes.Directory) = FileAttributes.Directory

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts