Please enable JavaScript to view this site.

ESL Documentation

FILEIO Subroutine

Obtains the absolute Path to a file and splits the Filename from the Path.

 

call GetFullPath(FileRelativePath_SV,

                 AbsolutePath_SV,

                 FileName_SV)

Parameters

FileRelativePath_SV

A string containing the relative path from the current directory and name of the file or directory.

AbsolutePath_SV

A string which receives absolute path of the specified file or directory.

FileName_SV

A string which receives the name of the file. This will be an empty string if a directory is specified in the first parameter.

Description

Use this routine to determine the absolute path of a file or directory.

Errors

FIO_E_INVALIDPATH

The specified path does not exist.

FIO_E_NAMEERROR

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

FIO_E_INVALIDNAME

A directory within the path is invalid.

See Also

IsDirectory( ) subroutine.

ListDirectory( ) subroutine.