How to copy a file on network folders? - TechRepublic
Question
August 2, 2010 at 03:46 PM
sankulpune

How to copy a file on network folders?

by sankulpune . Updated 15 years, 11 months ago

I (net admin) want to copy a file in multiple folders of each computer on my network using a batch file.

Here is the simplified description of the problem.

Computers C1 and C2

Each has a folder structure:

c:\f1\f2

The folders contain multiple folders:

Comp 1:

U11
U12

Comp 2:

U21
U22

I want to copy a file fil.txt in each of the four U folders.

I believe I can use nested For loop for that but not sure how to figure out that.

Please help.

This discussion is locked

All Comments