@FINDCLOSE

<< Click to Display Table of Contents >>

Navigation:  TCC > Variables & Functions > Functions >

@FINDCLOSE

@FINDCLOSE[filename]:  Signals the end of a @FINDFIRST  ... @FINDNEXT sequence. You must use this function to release the directory search handle. Filename is unnecessary, this function can be simply called as %@FINDCLOSE[] without parameters. @FINDCLOSE returns 0 if a @FINDFIRST ...@FINDNEXT sequence is in effect, a non-zero value otherwise.

 

Examples:

 

echo %@findfirst[*.exe]

echo %@findclose[]