|for /? from command prompt tells about looping... in this case a rough-draft:|
for /f "tokens=* delims=" %%a in (text.txt) do (
but i'm sure you are needing more than that but just didn't know to ask: what sub-string from the line names the directory and is the substring delimited or just absolute column no.s and where you want the subdirs created.
this draft just uses the whole line and puts the subdir in same dir. as text.txt and the batchfile itself.