FS_DeleteDirectory

function

Library: File system utilities (OMFSYS legacy)
Include: omfsys.xin

Declaration
define external function FS_DeleteDirectory
                value      stream  newpath
   status       modifiable stream  statusvalue


Purpose

The omfsys library has been deprecated and will be removed from a future version of the language. Use omvfs instead.

This function allows you to remove a directory from the file system.

Input argument:

Output argument:

Note that "newpath" must reference a valid directory, and the directory being deleted must be empty.