# FilePath - script function

The FilePath function returns a string containing the full path to the table file currently being read.

Syntax:

FilePath()

Examples and results:

Examples and results

| Example | Result |
| --- | --- |
| `Load *, FilePath(<br>) as X from`<br>`C:\UserFiles\abc.txt` | Will return<br>'C:\UserFiles\abc.txt' in field X in each record read. |