Tech Support Guy banner
Status
Not open for further replies.
1 - 8 of 8 Posts

·
Registered
Joined
·
7 Posts
Discussion Starter · #1 ·
Sorry if this has already been posted, im not sure where to look for it!

Im trying to copy one file, into several folders (about 120).

Is this possible, and how?

Thanks :)
 

·
Registered
Joined
·
7 Posts
Discussion Starter · #4 ·
I had a shot at that script on your second link, i can't make much sense of it, can you?

Also that program does look good, but we will be doing this on a yearly basis and we really need a free option! :D
 

·
Registered
Joined
·
9,026 Posts
The main question is are these 120 folders all under one parent folder, or are they under several?
Or are they 120 unrelated folders?
For example, here are 15 folders, all under TEST DIR:
Code:
 C:\TEST DIR
+---AL
¦   +---fldr1
¦   +---fldr2
¦   +---fldr3
+---BL
¦   +---fldr1
¦   +---fldr2
¦   +---fldr3
+---CL
¦   +---fldr1
¦   +---fldr2
¦   +---fldr3
+---DL
    +---fldr1
    +---fldr2
    +---fldr3
It would be easy to add one file to all 15 folders.
A little harder to add them to only the folders under the XL parent folders without adding it to the XL folder.
Same with just adding to the AL and CL folders and their subfolders, or to add the file only to folders named fldr3.

Or you can add it to all folders under TEST DIR except those named fldr2.

If there is nothing in common between the folders, you'd have to make a list of the folders, but once done it can be repeated as often as you like.

Also need to decide if you want to skip copying the file if it already exists, or overwrite it to update the file.
 
1 - 8 of 8 Posts
Status
Not open for further replies.
Top