|
-
May 14th, 2004, 12:16 AM
#1
Thread Starter
Junior Member
folder information
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|