count of file in a directory
Visual Basic
3
Posts
2
Posters
0
Views
1
Watching
-
hi all, how to know that how many file and what is the name of file in the directory that our specified in vb .net 2005?? anyone can help me??
My.Computer.FileSystem.GetFiles("c:\temp\").Count
My.Computer.FileSystem.GetFiles("c:\temp\")
returns a collection of names of the files within specified directory. -
My.Computer.FileSystem.GetFiles("c:\temp\").Count
My.Computer.FileSystem.GetFiles("c:\temp\")
returns a collection of names of the files within specified directory.