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
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