FILEIO Subroutine
Determine if the path specified is a directory
call ListDirectory(DirectoryPath_SV,
FileList_SV)
Parameters
DirectoryPath_SV
A string containing the path of the directory.
FileList_SV
A string that will receive a line feed separated list of files and directories.
Description
This routine lists the files and directories located within the specified directory.
Errors
FIO_E_NOTADIRECTORY
The specified path is not a directory.
FIO_E_PATHTOOLONG
The specified path is too long to perform the list processing.
FIO_E_INVALIDPATH
The specified path is not valid.
FIO_E_OUTOFMEM
ESL has not sufficient memory to store the list.
See Also
IsDirectory( ) subroutine.
CreateDirectory( ) subroutine.
RemoveDirectory( ) subroutine.