Table of Contents

, ,

FILE_NAME

Description

Returns the name of the specified file or document without the extension

Syntax

FILE_NAME (file)

Cannot be used in the condition of a FIND action.

Parameters

An expression returning a string identifying a file or directory name or an attribute of the Document type

Returns

Text: the file or document name without the extension.

Example

DISPLAY MESSAGE ('File name is ' + FILE_NAME('c:/myfile.txt')) 

FILE_EXTENSION, FILE_SIZE, FILE_EXISTS