filesearch

Search a file.

filesearch <filename>

Remarks

Searches for the file 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'