Please enable JavaScript to view this site.

ESL Documentation

FILEIO Subroutine

Determine if the path specified is a directory

 

call IsDirectory(DirectoryPath_SV,

                 IsDirectory_BV)

Parameters

DirectoryPath_SV

A string containing the path of a possible directory.

IsDirectory_BV

A boolean that is set to true if the full path is a directory.

Description

This routine checks attribute of the specified path to determine if it is a directory.

Errors

FIO_E_BADFILENAME

There is no file or directory with the specified path. Note. The boolean value is not changed, if this error occurs, so ensure the parameter is set to false before calling this routine, or always test the errorlevel.

See Also

ListDirectory( ) subroutine.

CreateDirectory( ) subroutine.

RemoveDirectory( ) subroutine.