|
CountFilesInFolder
int CountFilesInFolder(string
wildcard)
Return
Value
Returns the number of
files listed according to the provided wildcard mask.
Parameters
wildcard
–
string
containing the name of the file to find or a wildcard
(*.*).
Remarks
Call this function to
count files in the folder according to the specified wildcard mask.
Returned value does not include folders.
Package
Plug in module:
nd_fileplg.npl
Example
The following
example demonstrates the use of
CountFilesInFolder.
int
nFiles = CountFilesInFolder("C:\Windows\*.exe")
Println(nFiles)
|