Essentially I have a text file which has text on each line and a block of code that creates directories with the currently read line. Problem is, some lines are being skipped (Every 3rd line...) Any ideas?
Dim obj As IO.StreamReader
obj = New IO.StreamReader(filePath & "sets.txt")
Do Until obj.ReadLine Is Nothing
System.IO.Directory.CreateDirectory(filePath & obj.ReadLine)
Loop
obj.Close()
Dim obj As IO.StreamReader
obj = New IO.StreamReader(filePath & "sets.txt")
Do Until obj.ReadLine Is Nothing
System.IO.Directory.CreateDirectory(filePath & obj.ReadLine)
Loop
obj.Close()