View Single Post
Old 02-03-2005, 20:26   #6
Tricky
Inactive
 
Tricky's Avatar
 
Join Date: Jun 2003
Location: I am house...
Services: $KY+HD - BT Infinity
Posts: 2,284
Tricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful oneTricky is the helpful one
Re: Need to copy a file accross the network....

Are all the machines on the network?

perform a net view > machines.txt
edit machines.txt to remove the information not required leaving you with \\machinename on each line
write a batch file with something along the lines of:
@echo
copy mylicencefile.lic %1\c$\locationoffile

then use from a cmd prompt:
for /f %v in ( machines.txt ) do batchfile %v

This will call the batch file for each line in the machines.txt providing the content of each line in variable %v

PS. You'll need to be an admin on each box to connect to the C$ share!
Tricky is offline   Reply With Quote