Lo guys,
Im trying to write a batch file, and among other things it needs to create directories using a list of names stroed in a text file. Unfortunately the md command doesnt like using redirection operators, and I cant find another way of reading the file to get the foldernames :(
Anyone here know anything about batch files and can help?
Ta muchly
See if anything in this helps
http://www.ss64.com/nt/
Nah, already seen that.
Have managed to solve it using much cunningness and trial and error 8)
Its just a matter of combining every dos command you can think of in the right order a number of times...
FOR /F "usebackq" %i IN (file-name.txt) DO MD "%i"
Yeh, ended up with something like that.
Unfortunately once I got that working everything else broke :cry: