Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. DougalScott

    VBScript tree comparison and replication script speed

    >Windows Resource Kit Can't have any of that sort of dodgy software infecting our system. [smile]
  2. DougalScott

    VBScript tree comparison and replication script speed

    Thanks, not the answer I was hoping for, but somewhat expected. I'll let someone else bash their head against the ROBOCOPY brick wall, and accept the time delay for now. Any advise regarding using cmd shell copy compared to vbscript copy for the actual file copying?
  3. DougalScott

    VBScript tree comparison and replication script speed

    Update3: I thought the order of the file comparison may be an issue, as "same" (which is most common) was the last test after all others (size and modified) were false. I reorganised that block If objSrcFile.DateLastModified = objDestFile.DateLastModified Then If objSrcFile.Size =...
  4. DougalScott

    VBScript tree comparison and replication script speed

    Update2: removed the wscript.echo commands and time now dropped to 10 secs. Couple of general questions: 1. Are compound commands (eg If Not objFSO.FileExists(Replace(objDestFile.Path, strDest, strSrc, 1, -1, vbTextCompare)) Then faster than multiple commands eg strSrcFile =...
  5. DougalScott

    VBScript tree comparison and replication script speed

    Update: I removed the log concatenation, and now just return an empty string from the function. Time has dropped from 20 secs to 15 secs, which is good improvement but nothing like ROBOCOPY's 1 sec. Is it worth creating separate thread for each top level folder? Cheers
  6. DougalScott

    VBScript tree comparison and replication script speed

    Hi, I am a self taught vbscript user, and have a VB script that is used to maintain local copy of server data on laptop for access when disconnected. This runs on a system with limited access (can't add executables), but I can use vbs. I have been using ROBOCOPY to do the grunt work of mirroring...

Part and Inventory Search

Back
Top