_NAME_ directory_exists _PROTOTYPE_ result = directory_exists(path); _SHORT-DESCRIPTION_ Check on the existence of a directory _DESCRIPTION_ directory_exists is used primarily by the put data routines to check if an archive directory already exists (before createDirectory is called). Returns 1 (true) if the directory does exist, and 0 (false) if not. _SHORT-CODE-SAMPLE_ directoryPath = "/home/idunn1/rgr/dataStorage"; if (directory_exists(directoryPath)) then print, directoryPath, " exists." $ else print, directoryPath, " does not exist." _INPUT_ * path is a string holding the directory's path. _OUTPUT_ * 1 if the directory exists. * 0 if the file does not exist (or if the directory is actually a file.)