IsDir
Result = IsDir ( Path AS String ) AS Boolean
Returns TRUE if the String argument Path points to a directory.
If the file with the name Path does not exist, or if it is not a directory, then this function returns FALSE.
Examples
Print IsDir("/etc/password"), IsDir("."), IsDir(".."), IsDir("../.."), IsDir("/dev/hda")
False False False False False
Print IsDir(User.Home &/ ".kde"), IsDir("/etc/X11"), IsDir("/etc"), IsDir("/"), IsDir("/dev")
See also