.. highlightlang:: us .. index:: IsDirectory .. _isdirectory: IsDirectory =========== .. us.tag IsDirectory ENGLISH FILE_MISC :ref:`IsDirectory` checks if the given directory exists. .. function:: bool = IsDirectory(ssDirectory) .. us.return **Return Value** *bool* .. us.params **Parameters** .. uparam:: ssDirectory *ssDirectory* is the directory. .. us.example **Example** :: if (IsDirectory("c:/Temp")) { MessageBox("c:/Temp exists"); } else { MessageBox("c:/Temp does not exist"); } .. seealso:: :ref:`overview-files` :sub:`id-1833884`