FileTools[Exists] - determine if a file exists in the file system
|
Calling Sequence
|
|
Exists(file)
|
|
Parameters
|
|
file
|
-
|
filename or the file descriptor of an open file
|
|
|
|
|
Description
|
|
•
|
The Exists(file) command checks the file system for a specified file. If the file exists, Exists returns true; otherwise, it returns false.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
|
|
See Also
|
|
file_types, FileTools, FileTools[IsDirectory], FileTools[IsExecutable], FileTools[IsReadable], FileTools[IsWritable], FileTools[ModificationTime], FileTools[Remove], FileTools[Size], FileTools[Status], FileTools[Text][Close], FileTools[Text][WriteString], IO_errors
|
|
Download Help Document
Was this information helpful?