A
ACutsumbis
I have a situation where nightly i need to copy to folders full of
files into all folders with in a certain directory. I know i need to
use the FOR /R command to do this.. However i'm have issues with it.
the folder structure looks as such
+MAIN
---+EMMCO
---+MASTER
---+USERS
--------+JaneDoe
--------------+LOCAL
--------------+EMMCO
--------+BobSmith
--------------+LOCAL
--------------+EMMCO
--------+JoeBlow
--------------+LOCAL
--------------+EMMCO
The Sub Folders in the USERS directory changes, but every night, i need
to copy Master to EACH user folder's LOCAL. And copy EMMCO to EACH
users EMMCO Folders.
I know the easiest way would be to execute 2 sepearate for /r commands,
but i'm having issues just getting one to work. Thank you.
I've tired the following FOR /R d:\Project\Folder\USERS\ %%X IN (.) DO
XCOPY d:\project\Folder\MASTER d:\Project\Folder\USERS\%%X\LOCAL\
Thank you for any help or suggestions
files into all folders with in a certain directory. I know i need to
use the FOR /R command to do this.. However i'm have issues with it.
the folder structure looks as such
+MAIN
---+EMMCO
---+MASTER
---+USERS
--------+JaneDoe
--------------+LOCAL
--------------+EMMCO
--------+BobSmith
--------------+LOCAL
--------------+EMMCO
--------+JoeBlow
--------------+LOCAL
--------------+EMMCO
The Sub Folders in the USERS directory changes, but every night, i need
to copy Master to EACH user folder's LOCAL. And copy EMMCO to EACH
users EMMCO Folders.
I know the easiest way would be to execute 2 sepearate for /r commands,
but i'm having issues just getting one to work. Thank you.
I've tired the following FOR /R d:\Project\Folder\USERS\ %%X IN (.) DO
XCOPY d:\project\Folder\MASTER d:\Project\Folder\USERS\%%X\LOCAL\
Thank you for any help or suggestions