MoneyWorks Manual
BaseName (path)
Result type: text
Definition: Returns the filename part of a filesystem path. Assumes the path is in the native format for the platform.
Example: BaseName("/Users/admin/Documents/somefile.txt")
— returns "somefile.txt".
Availability: MoneyWorks 9.2.1 and later.
See Also:
AddSafePath: UI to add a safe path to the preferences
CreateFolder: Create a new folder
File_Close: File functions for creating/reading/writing text files
File_GetLength: File length in bytes
File_GetMark: Get current read/write position
File_Move: Rename/move a file
File_Open: Open a file
File_Path: Get the full path of an open file
File_Read: Read text from current position
File_ReadLine: Read to end of line from current position
File_SetMark: Set Current read/write position
File_Write: Write text at current position
WriteToTempFile: Create a temp file containing the string