Recursively Iterate through a folder without using FileSystemObject in VB.NET
Dim files As ReadOnlyCollection(Of String) files = My.Computer.FileSystem.GetFiles("c:\modifiedfiles\", FileIO.SearchOption.SearchAllSubDirectories, "*.*") For index As Integer = 0 To files.Count - 1 MsgBox files(index) Next
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.