function DirExists(const Name: String): Boolean;
Returns True if the specified directory name exists. The specified name may include a trailing backslash.