Exists(
path:path,
[string:flags]
)
→ bool
w | Support wildcards in the final path component |
Tests if the specified path exists (or optionally, if any file or folder matching the wildcard exists in the specified path).
Example:
if (Exists("c:\\log\\error*.txt", "w")) { ... }