Function to check whether an absolute file path points to an existing file. This method was originally created by Adobe.
The function FilePathExists() is located in the file file.jsxinc.
Usage
if(FilePathExists("C:/myfile.txt"))
//Do something if the file C:/myfile.txt existsParameters
| Parameter | Data type | Required | Description |
|---|---|---|---|
| absolutepath | String | ![]() |
The absolute path of the file. This path can be in platform-specific notation or URI notation. |
Return values
| Value | Meaning |
|---|---|
| true | The file specified in the path exists on the file system. |
| false | The file specified in the path does not exist on the file system. |

