filesearch

Search a file or folder.

filesearch <filename>

Remarks

Searches for the file or folder specified by <filename>.
If it is found, the system variable "result" is set to 1. Otherwise, "result" is set to zero.

Example

filesearch 'readme.txt'
if result=0 messagebox 'File not found.' 'error'

See also