The content in 1.txt is “12”
What I want is to read 12 from 1.txt, then mkdir 1 & mkdir 1\2
Should it be written like this
for /f "tokens=1,2 " %%j in (1.txt) do mkdir %%j & mkdir %%j\%%k
But the result is always just a folder named 12
instead of having a folder 2 inside folder 1
So how exactly should it be written???
What I want is to read 12 from 1.txt, then mkdir 1 & mkdir 1\2
Should it be written like this
for /f "tokens=1,2 " %%j in (1.txt) do mkdir %%j & mkdir %%j\%%k
But the result is always just a folder named 12
instead of having a folder 2 inside folder 1
So how exactly should it be written???


Thank you very much!!!