C
Charles Theodore
Hi everyone,
Running Windows XP pro and looking for a way to make my batch optimized.
--------------------------actual code----------------------------------
@echo off
set pathx=\\filesrv1\MSI\Graphic
for /d %%a in (%pathx%\*.*) do md "%%a\INPUT"
set pathx=\\filesrv1\MSI\Oracle
for /d %%a in (%pathx%\*.*) do md "%%a\INPUT"
set pathx=\\filesrv1\MSI\Tools
for /d %%a in (%pathx%\*.*) do md "%%a\INPUT"
set pathx=
--------------------------desired code----------------------------------
A program that can parse all directories to create an INPUT directory.
Don't want to set every time a static pathx variable for each different directories.
Example:
\\filesrv1\MSI\Graphic\Photoshop\INPUT
\\filesrv1\MSI\Oracle\Client\INPUT
\\filesrv1\MSI\Tools\AdAware\INPUT
.... and so on on many directories.
Thank you very much!
Charles
Running Windows XP pro and looking for a way to make my batch optimized.
--------------------------actual code----------------------------------
@echo off
set pathx=\\filesrv1\MSI\Graphic
for /d %%a in (%pathx%\*.*) do md "%%a\INPUT"
set pathx=\\filesrv1\MSI\Oracle
for /d %%a in (%pathx%\*.*) do md "%%a\INPUT"
set pathx=\\filesrv1\MSI\Tools
for /d %%a in (%pathx%\*.*) do md "%%a\INPUT"
set pathx=
--------------------------desired code----------------------------------
A program that can parse all directories to create an INPUT directory.
Don't want to set every time a static pathx variable for each different directories.
Example:
\\filesrv1\MSI\Graphic\Photoshop\INPUT
\\filesrv1\MSI\Oracle\Client\INPUT
\\filesrv1\MSI\Tools\AdAware\INPUT
.... and so on on many directories.
Thank you very much!
Charles