Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to copy files to machines on the network

Status
Not open for further replies.

calitoday

IS-IT--Management
Dec 3, 2006
7
US
I have 250 PCs to copy files to. I try to accomplish this taks in DOS as follows.

FOR /F "tokens=1" %%G IN (machines.txt) do (xcopy c:\temp\test.txt \\%%G\C$\temp\test.txt)

Where machines.txt is a list of PCs.

I am starting to learn VBScript and like to know how it is done in VB SCript.

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top