Connecting Tech Pros Worldwide Help | Site Map

copying file script

Familiar Sight
 
Join Date: Nov 2006
Posts: 168
#1: Jul 24 '09
Hi All,

i would like to copy a folder from one of my servers to all users machines on the network, preferably C drive. I need a VBScript, can someone please help me?


thanks
gits's Avatar
Moderator
 
Join Date: May 2007
Location: Munich, Germany
Posts: 4,126
#2: Jul 24 '09

re: copying file script


probably you should ask that question in the appropriate forum? and you should even tell a bit more about the requirements ... should it just be a plain copy or should it be copied when an application is opened in a webrowser or whatever?

kind regards
Familiar Sight
 
Join Date: Nov 2006
Posts: 168
#3: Jul 24 '09

re: copying file script


sorry, didnt know where to post exactly.

It's just a plain copy. from server to PCs (harddrive)
gits's Avatar
Moderator
 
Join Date: May 2007
Location: Munich, Germany
Posts: 4,126
#4: Jul 24 '09

re: copying file script


what kind of network are you talking about? an intranet? or a public network? do you have access to all machines in question? i think for such a task you don't need any script (except for a loop through the list of machines of course) ... it's just a plain admin task to copy something to a remote-machine ... what you might use for that depends on the infrastructure like the mentioned filesystem-access etc. ... in a linux environment you might use tools like scp for that ... in a windows environment you should have similar options ... so i guess the windows or the networking forum would be appropriate?

kind regards
Familiar Sight
 
Join Date: Nov 2006
Posts: 168
#5: Jul 24 '09

re: copying file script


it's a public network with over 80 machines. I have access to all workstations but a script would have been much easier for me.
gits's Avatar
Moderator
 
Join Date: May 2007
Location: Munich, Germany
Posts: 4,126
#6: Jul 25 '09

re: copying file script


so i would suggest to ask in one of the mentioned forums. you need a command that will copy the files/folders to the remote machines ... that command depends on the services that you can use on the client-machines ... and then you might use a script and the WSH to execute that command for every node you want to affect ...

kind regards
Reply