.. highlightlang:: us .. index:: RemoveDirectory .. _removedirectory: RemoveDirectory =============== .. us.tag RemoveDirectory NOTREADYENGLISH FILE_MISC New400 :ref:`RemoveDirectory` deletes an existing directory. The directory must be empty, and it must not be the current working directory or the root directory. .. function:: bool = RemoveDirectory(ssDirName) .. us.return **Return Value** *bool* is TRUE (1) if the copy could be created, otherwise FALSE (0). .. us.params **Parameters** .. uparam:: ssDirName *ssFileName* is the complete directory name. .. seealso:: :ref:`overview-files`, :ref:`MoveFile`, :ref:`CopyFile`, :ref:`DeleteFile` :sub:`id-410192`