PathIsDirectory Verifies that a path is a valid directory.
VB4-32,5,6
Declare Function PathIsDirectory Lib "shlwapi.dll" Alias "PathIsDirectoryA" (ByVal pszPath As String) As Long |
VB.NET
System.IO.Directory.Exists |
Operating Systems Supported |
Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 4.0 or later); Requires Windows 98 (or Windows 95 with Internet Explorer 4.0 or later) |
- pszPath
Address of the path to verify. |
Returns TRUE if the path is a valid directory, or FALSE otherwise. |
|