Tool to generate a directory structure ...

R

Rob Keel

Hi,

Looking for a tool to create a directory structure based on the
contents of a text file.

Can anyone recommend something that can do this please?

Many thanks.
 
B

B. R. 'BeAr' Ederson

Looking for a tool to create a directory structure based on the
contents of a text file.

Can anyone recommend something that can do this please?

On Win2k and later no tool is needed. Just run:

cmd /c for /f "tokens=*" %i in (DirList.txt) do md %i

if the file DirList.txt contains the name listing. Be sure to include
all directories containing space chars in quotation marks. Valid entries
for your file are:

MyDir
"My Dir"
MyDir\MySubDir
"My Dir\My Sub Dir"

HTH.
BeAr
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top