+ Post New Thread
Results 1 to 3 of 3
Scripts Thread, VBS Script to copy a folder in Coding and Web Development; Hi I would like a script that will copy a folder containing shortcuts from the servers to the clients but ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,108
    Thank Post
    892
    Thanked 1,754 Times in 1,512 Posts
    Blog Entries
    12
    Rep Power
    458

    VBS Script to copy a folder

    Hi

    I would like a script that will copy a folder containing shortcuts from the servers to the clients but only when there has been changes to the server copy. How would I achieve this please?

  2. #2
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34
    Use ROBOCOPY. IIRC, the basic syntax will only overwrite older or changed files. I've used this many times in startup/logon scripts for syncing folders full of shortcuts from server to desktop.

  3. #3

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,592
    Thank Post
    109
    Thanked 770 Times in 598 Posts
    Rep Power
    182
    Agreed, ROBOCOPY is the tool to use for this. There is also a ROBOCOPY GUI which will 'build' the command line for you if you are feeling lazy

    Take a look at http://www.microsoft.com/technet/tec...litySpotlight/

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 5
    Last Post: 29th January 2013, 10:16 AM
  2. Replies: 21
    Last Post: 29th December 2007, 10:53 PM
  3. VB Script ti check for folder and then copy contents to PC
    By tosca925 in forum How do you do....it?
    Replies: 4
    Last Post: 2nd October 2006, 08:15 PM
  4. Replies: 6
    Last Post: 20th October 2005, 06:48 PM
  5. Replies: 2
    Last Post: 1st October 2005, 02:55 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •