Re: Is there a way to get around?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



John <John@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi all,

We need to copy several files from the network to users computers
from time to time. Then I used bat file of xcopy to apply at log on
through group policy. Is there a way to copy if users have copied
and then do not copy them again? Also, users complaint that some
times they get cmd screen. How do I get rid off this cmd screen?

Windows 2003 R2 and XP machines

Thank you.

Use robocopy from the resource kit -

e.g.,

robocopy <source>\ <destination>\ /e /r:1 /w:1

(robocopy /??? will give you the full available parameters)

This will copy everything in the source to the destination including all
subfolders - waiting 1 sec between retries, and retrying only once.
It will not copy older files or copy anything if the destination already
contains the files. New or nonexistent files only.

You can hide the login scripts via policy if you like.


.



Relevant Pages

  • Re: Batch file will not work
    ... The destination should be before the parameters, ... Robocopy has the /FFT option which the manual says: ... tried or seen this in xcopy ... ... > @echo that have newer dates than the date of the last backup, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Is there a way to get around?
    ... In the admin templates of user, run legacy logon scripts hidden. ... through group policy. ... Use robocopy from the resource kit - ... This will copy everything in the source to the destination including all ...
    (microsoft.public.windows.group_policy)
  • Re: I have a basic Robocopy question
    ... i know the xcopy has the /v switch does robocopy have something like this ...
    (microsoft.public.windowsxp.basics)
  • Re: Ping the NASisti
    ... OK next question then - is there an alternative to xcopy that does the ... but doesn't try to recreate directories if they already ... exist on the destination? ... Robocopy is good- don't know if it will work any better under the ...
    (uk.rec.motorcycles)
  • Re: Copying only newer files with Robocopy
    ... I've evidently been misreading the help files ... never had the source altered by robocopy. ... if you've mucked with stuff in the destination as ... Windows 2003 server and want to preserve them. ...
    (microsoft.public.windows.server.general)