FILE_NAME

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

FILE_NAME (file)

Cannot be used in the condition of a FIND action.

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

Text: the file or document name without the extension.

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