I got some help years ago to re-create a directory structure from one disk to use on another disk.
What I do is delete the files in the directories and am just left with the entire directory/folder structure,
but no actual files.
Then I add new files to the directory structure.
It worked well for many years.
There are two .bat files.
The first copies the dir structure (no files) to a .txt file.
Then the second .bat file uses this .txt file and creates
the actual directories on the new disk.
The first .bat file worked well. It created the .txt intact with all the folders.
But the second .bat file is not creating these folders on the new drive.
Maybe someone can help me out fixing this?
Here is the .bat file that is supposed to create the folders on a second drive.
for /f "usebackq delims=" %%A in ("e:\dirlist.txt") do md "%%A"
dirlist contains all the directories/folders.
Is "usebackq" a special command, or is it specific to a previous backup of mine?
What is the significance of %%A?
Thanks!