FileCount

Syntax

FileCount(Str)

Description

Returns the number of files found in the specified folder.

Parameters

Parameter Description
Str A text string containing the folder that should be scanned for number of files.

Example


Sub Main
MsgBox FileCount("c:\foldername")
End
Sub


See also

FolderCount, DriveExists, DriveAvailableSpace, FileExists, FolderExists