I need to create a folder (called "visitor") in every folder of one main folder. For example, my structure is this:
\idontknowthename1\
\idontknowthename2\
\idontknowthename3\
\idontknowthename4\
\idontknowthename5\
I need this:
\idontknowthename1\visitor
\idontknowthename2\visitor
\idontknowthename3\visitor
\idontknowthename4\visitor
\idontknowthename5\visitor
Of course, there are some issues:
- I don't know the total numbers of folders in the root folder
- I don't know the real name of every folder
- I can't use any software or install anything more that comes with Windows XP (it's for a web server on staging and production)
I was thinking of doing this with a batch file (using for), but I can't work out how to get the names of the folders without parsing a file. Any ideas?