Creation of directories

  • Thread starter Thread starter Charles Theodore
  • Start date Start date
C

Charles Theodore

Greeting to everyone,

I want to create a specific directory named: INPUT in 1000 different directories.

Examples of directories are as follow:
Z:\APPS\MSI\EUDORA\INPUT
Z:\APPS\MSI\NETSCAPE\INPUT
Z:\APPS\MSI\MOZILLA\INPUT
Z:\APPS\MSI\other_applications\INPUT

Remember: INPUT must be "mkdir" at the fourth level of the directory structure.

Any "input" will gratefully received :-)

Thank you,

Charles.
 
In said:
Greeting to everyone,

I want to create a specific directory named: INPUT in 1000
different directories.

Examples of directories are as follow:
Z:\APPS\MSI\EUDORA\INPUT
Z:\APPS\MSI\NETSCAPE\INPUT
Z:\APPS\MSI\MOZILLA\INPUT
Z:\APPS\MSI\other_applications\INPUT

Remember: INPUT must be "mkdir" at the fourth level of the
directory structure.

So what are you starting with? Do you have a text file with one-per-
line fully qualified paths for the "parent" location? Is it that you
want to create INPUT in every third-level directory on a volume? Or
every one within a tree (eg x:\APPS\)? OS?
 
Mark V said:
So what are you starting with? Do you have a text file with one-per-
line fully qualified paths for the "parent" location? Is it that you
want to create INPUT in every third-level directory on a volume? Or
every one within a tree (eg x:\APPS\)? OS?

Hi Mark,

Got the solution:
cd \Apps\MSI
for /d %%a in (*.*) do md "%%a\Input"

Thank you.
 
Back
Top