Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Copy over Ethernet:Robocopy, Xcopy? 32bit or 64bit?  (Read 8179 times)

0 Members and 1 Guest are viewing this topic.

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: Copy over Ethernet:Robocopy, Xcopy? 32bit or 64bit?
« Reply #15 on: February 01, 2018, 08:16:59 PM »
Quote
I have no doubt other programs work. XCOPY does the job.
But ROBOCOPY has me baffled.    :||x

So if it works are you just bein stubborn ? ?
" Anyone who goes to a psychiatrist should have his head examined. "

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Copy over Ethernet:Robocopy, Xcopy? 32bit or 64bit?
« Reply #16 on: February 01, 2018, 08:23:57 PM »
The "File" is $RECYCLE.BIN and it is a folder. You can either exclude it with the /xd switch, or you can use /r:0 to set the retry count to 0 so it will continue to the next file if errors occur.
I was trying to dereference Null Pointers before it was cool.

nil

  • Global Moderator


  • Intermediate
  • Thanked: 15
    • Experience: Experienced
    • OS: Linux variant
    Re: Copy over Ethernet:Robocopy, Xcopy? 32bit or 64bit?
    « Reply #17 on: February 01, 2018, 09:02:58 PM »
    Check out the /XD option which allows you to specifically exclude/skip over directories such as RECYCLE.BIN.

    Good example on this page:

    https://christ-offer.blogspot.com/2011/01/simple-backups-with-robocopy.html

    It looks like you can just specify a series of quoted directory names and they will be excluded.
    Do not communicate by sharing memory; instead, share memory by communicating.

    --Effective Go

    Geek-9pm

      Topic Starter

      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: Copy over Ethernet:Robocopy, Xcopy? 32bit or 64bit?
    « Reply #18 on: February 01, 2018, 10:26:52 PM »
    Thank you both. Got it to work!
    Some other details. I set both PCs to use the same user name, which is a MS account. An both require password to log in and to let the network share.

    An rather than use the drive map, I use the full share name of the other PC.
    Share name is: \\Dell\Data$
    Rather than block out the file giving me trouble, I used the wait and retry  options thus I see what is going on.
    I want the network drive to be copied to y local E: drive and I did this:
    ROBOCOPY \\Dell\Data$ E: /w:3 /r:1 /s
    it waits 3 seconds on a problem and ttys one more time. It snags some system files, but keep on going. and gets all the stuff I want.

    The mystery is why would it try a system or hidden file or folder? Some types of system things in Windows should not be transported over a network. You would think  Microsoft would have a default setting that would not transport information not relevant to drive content. Maybe there is a reason.

    Anyway, now I can use ROBOCOPY to make a backup over the network rather than taking a portable external drive from one PC to another.  ;D

    Thanks everybody.

    Geek-9pm

      Topic Starter

      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: Copy over Ethernet:Robocopy, Xcopy? 32bit or 64bit?
    « Reply #19 on: February 02, 2018, 02:29:03 PM »
    My bad.  :-[

    The  RASHCNETO thing in ROBOCOPY ...
     - is one to a customer.
    You can not go piggyback.    :o

    I tried
    ROBOCOPY Z: E: /XA:RSH /S 
    .. which is wrong.    :'(
    (I want to exclude read only , system and hidden and do subdirectories.)
    It hasto be
    ROBOCOPY Z: E: /XA:R /XA:S /XA:H /S 
    Is that right?   ;D