DirectoryQ["name"] gives True if the directory with the specified name exists, and gives False otherwise.
Check if the name corresponds to a directory:
The result is False if the file is not a directory or does not exist:
FileType Directory DirectoryName
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »