Please enable JavaScript to view this site.

ESL Documentation

FILEIO Subroutine

Create a new directory.

 

call RemoveDirectory(DirectoryPath_SV)

Parameters

DirectoryPath_SV

A string containing the path of the directory that will be deleted.

Description

This routine deletes a directory, provided the directory is empty.

Errors

FIO_E_BADFILENAME

The directory does not exist.

FIO_E_INVALIDPATH

The path to file does not exist.

FIO_E_ACCESSDENIED

The system has prevented the file from being deleted.

FIO_E_NAMEERROR

The syntax of the file name or path is not valid.

FIO_E_INVALIDNAME

Directory Name is invalid (e.g. it is a file).

FIO_E_NOTEMPTY

The Directory must be empty for it to be deleted.

FIO_E_NAMEERROR

The name syntax for the Directory specified is invalid.

See Also

IsDirectory( ) subroutine.

ListDirectory( ) subroutine.

CreateDirectory( ) subroutine.