Equinox Online Help - Language Reference - A to Z
FilePath |
|
|---|---|
| Applies to | ![]() |
| Syntax | FilePath FileSpecExpression [, PathItem, NameItem] |
| Action | [Statement] Takes a file specification and extracts the path and name. |
| Scope | Usable anywhere |
| Notes | This statement separates the path and name components from a full file specification in the FileSpecExpression parameter. PathItem and NameItem, if supplied, receive the path and name. The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero. |
| Category | File Management |
| See Also | ChooseFile, FileDelete, FileDetails, FileExists, FileHandle, FilePath, FileRename, FileSearch, FileSearchNext, MakeDirectory, RemoveDirectory |
| Example | This example prints the directory and file name to the print window. string path |
