#165802 - 2006-08-16 10:01 AM
Re: Verify succesful copy in a loop
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Quote:
you can replace the whole script with single shell line to robocopy.
Nearly. Renaming the files is a little problematical and you'd need to rely on the ROBOCOPY log rather than the bespoke logging routine.
This appears to be a routine task intended to be carried out by end users rather than support staff, so wrapping enough code around ROBOCOPY to make the process end-user friendly enough is probably going to make the script just as complex. I guess you could pop up a window which says "some sort of error occurred please review the ROBOCOPY log", but where is the fun in that?
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 1198 anonymous users online.
|
|
|