For some reason, this statement completely bypasses folders which contain said text, what am I doing wrong?
For Each fold As String In Directory.GetDirectories("C:\documents")
If fold.Contains("pdf") Then
I have folders in the c:\documents folder with names such as:
pdfone
pdfretrieve
extrapdf
When VS reads through, I see the strings:
"c:\documents\pdfone"
"c:\documents\pdfretrieve"
"c:\documents\extrapdf"
But it reads right past them and doesn't enter the If statement.