script for win/dos to create folders from list of names in a file

Posted by Brian68178 on Server Fault See other posts from Server Fault or by Brian68178
Published on 2009-08-31T23:52:45Z Indexed on 2010/06/01 14:54 UTC
Read the original article Hit count: 289

Filed under:
|
|

Scripting question. Dang, it should be easier than this. I have a file with a list of names. I'd like to turn those names into folders. Whenever I try the FOR loop, all I get is the name of the file I want to read from being created as a folder, not the contents of the file being turned into folders. Just want to mkdir for each item in the list.

© Server Fault or respective owner

Related posts about Windows

Related posts about scripting