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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

distribution of files

Status
Not open for further replies.

singularity

Programmer
Jun 4, 2002
5
US

I need to distribute a file (specifically: normal.dot in Word) to a specific directory on every computer in a network from a server. I'm thinking a small app or vb-script, but have no idea how to begin. Any suggestions?
 
This can be used for copying a file from one place to another. Maybe you can loop through the PCs on the network and send it to the proper directory.

Private Sub Command1_Click()
Dim fs as Variant
Set fs = CreateObject("Scripting.FileSystemobject")

fs.copyfile "a:\normal.dot", "c:\normal.dot"
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top