FORMULA LANGUAGE


@FileDir
Example

Returns the directory portion of a path name, that is, the path name minus the file name.

Note This @function is new with Release 6.

Syntax

@FileDir( pathname)

Parameters

pathname


Return value

directory


Usage

The directory part of a file name is everything to the left of the file name as demonstrated below:
Path nameDirectory portion
europe.datNull
c:\\europe.datc:\
c:\\market\\data\\europe.datc:\market\data\
\\europe.dat\
Use @Right with the path name and @FileDir to extract the file name.

Example
See Also