for some reason this isn't working, but it works if i try it without spaces in the folder name. (i cant change the folder structure)
Code:Dim FileList As String() = Directory.GetFiles("E:\Downloads\Data Legal Agreements\") Dim FileName As String For Each FileName In FileList Whatever(FileName) Next




Reply With Quote