_filecount - UDM Built-in Variable


The _filecount built-in variable contains the number of files which match the file specification of a forfiles.


Note

This value is valid only after UDM executes a forfiles statement. It cannot be used to determine whether the forfiles statement will actually find any files that match its file specification. The _filecount value may be accessed outside of a forfiles loop after all its iterations have completed, and is available until it is re-initialized with the set command or until UDM executes another forfiles statement.