file_format (x)

The file_format (x) function returns the type of file 'x'. The file must exist.

Possible return values;

These are values of type Text.

Example
file_format ("c:\mydir\somefile") 	

Result: one of the listed responses