I want to create 10 directories under each of three directories, using the directory names in a text file as variables. How should I write the batch file with nested for loops?
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
for %%a in (a b c) do for /l %%b in (1,1,10) do md D:\%%a\%%b