Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Forum
I want to do a search for all the files that contain "20-0446" inside a folder but I am not aware what the syntax is. Any help is appreciated. Here's my code so far:
Dim SubPath As String = "C:\CLEV\PROJECTS\" 'Dim sFiles() As String = System.IO.Directory.GetFiles(SubPath, "*.iam") Dim sFiles() As String = System.IO.Directory.GetFiles(SubPath, "20-0446") Dim sName As String For Each sName In sFiles Logger.Info(" " & sName) Next
Thanks,
Felix
Solved! Go to Solution.