Samples and All! Thanks Tim
Tim Jones wrote: > On Mar 9, 2007, at 1:21 PM, Giovanni wrote: > > >> awesome. >> >> Is there a way to first compare the files? >> > > You could use a script to diff the elements of the two paths. Build > you file list as a pair of arrays (this assumes you have the same > files and count in both locations): > > Dim srcArray(-1), destArray(-1) As String > > // populate the two arrays as you see fit with the full path to each > file > // Then use a loop through a shell script > > For x = 0 to UBound(srcArray) > shDiffer.Execute "diff " srcArray(x) + " " + destArray(x) > If shDiffer.Errorcode <> 0 > // They were different > // Do different stuff > Else > // they were the same > // Do same stuff > End If > Next > > Tim > -- > Tim Jones > [EMAIL PROTECTED] > > > > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives: > <http://support.realsoftware.com/listarchives/lists.html> > > _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
