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
  • 35,688
  • 8
  • 69
  • 98
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,337
  • 11
  • 120
  • 212