copying file script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Beany
    New Member
    • Nov 2006
    • 173

    copying file script

    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
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

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

    Comment

    • Beany
      New Member
      • Nov 2006
      • 173

      #3
      sorry, didnt know where to post exactly.

      It's just a plain copy. from server to PCs (harddrive)

      Comment

      • gits
        Recognized Expert Moderator Expert
        • May 2007
        • 5390

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

        Comment

        • Beany
          New Member
          • Nov 2006
          • 173

          #5
          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.

          Comment

          • gits
            Recognized Expert Moderator Expert
            • May 2007
            • 5390

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

            Comment

            Working...