Function that returns the file name from an absolute path to a file.
The function filename() is located in the file file.jsxinc.
Usage
var myfilepath = "C:/myfile.txt"; var filename = filename(myfilepath);
Parameters
| Parameter | Data type | Required | Description |
|---|---|---|---|
| absolutepath | String | ![]() |
The full path to a file. |
Return values
| Value | Meaning |
|---|---|
| file name | The file name, such as myfile.txt. |

