Tool to generate a directory structure ...

  • Thread starter Thread starter Rob Keel
  • Start date Start date
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.
 
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
 
Back
Top