Hi
I want to idenify how many files are there in the given path.
Files means
1) How many folders are there?
2) How many files are there based on the type (.txt,.doc,...)?
3) And also tell me what is the similar one for App.Path in VB.NET
I written code like this
Dim folderpath As String
Dim nof As Long
folderpath = "C:\WINNT\"
Dim DirInfo As New DirectoryInfo(folderpath)
nof = DirInfo.GetFiles.GetUpperBound(0)
Thanks in advance


Reply With Quote
