1

for /f %d in (listfile) do md %d works for contiguous folder names (even if more than 8 characters long but not if there is a space in what will be the folder name.

Khaled
  • 36,533
  • 8
  • 72
  • 99
CharAp
  • 11
  • 1

1 Answers1

2

for /f %d in (listfile) do md "%d"

Add quotes so it takes the space as a literal. Or did you want the space left out?

Chris S
  • 77,945
  • 11
  • 124
  • 216