+ 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
    Brisbane, Australia
    Posts
    11,181
    Blog Entries
    3
    Thank Post
    537
    Thanked 924 Times in 835 Posts
    Rep Power
    196

    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,641
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    29
    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,603
    Thank Post
    96
    Thanked 678 Times in 523 Posts
    Rep Power
    156
    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: 21
    Last Post: 29th December 2007, 11:53 PM
  2. Replies: 4
    Last Post: 22nd January 2007, 08:48 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
  •