_Command Line Interface CLI robocopy


jro11

Active member
Member
Local time
6:19 PM
Posts
469
OS
Win11 Home
C:\Windows\System32>robocopy D:\Intel\ C:\Robotest\ /E /L
Result: no errors
C:\Windows\System32>robocopy D:\Intel\ C:\Robotest\ /E /L /COPYALL
Result: no errors

Traveling into the D drive:
C:\Windows\System32>robocopy D:\___________Configured Items\Home C:\Robotest\ /E /L /COPYALL

-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------

Started : Monday, August 7, 2023 12:13:08 PM
Source - D:\___________Configured\
Dest - C:\Windows\System32\Items\Home\

Files :
Options : /DCOPY:DA /COPY:DAT /R:1000000 /W:30

------------------------------------------------------------------------------

ERROR : Invalid Parameter #3 : "C:\Robotest"

Simple Usage :: ROBOCOPY source destination /MIR

source :: Source Directory (drive:\path or \\server\share\path).
destination :: Destination Dir (drive:\path or \\server\share\path).
/MIR :: Mirror a complete directory tree.

For more usage information run ROBOCOPY /?


**** /MIR can DELETE files as well as copy them !

C:\Windows\System32>

Q: Why is robocopy not accepting the destination directory, "C:\Robotest", it accepted before? Ane what is the solution?
 

My Computers

System One System Two

  • OS
    Win11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inc. Inspiron 16 7610
    CPU
    Dell Inc. 0FHWFD A01
    Motherboard
    Dell Inc. 0FHWFD A01
    Memory
    16GB
    Graphics Card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    laptop (small) and 1 or 2 external monitors
    Screen Resolution
    -
    Hard Drives
    PC711 NVMe SK hynix 1TB 1.02 TB NVMe ANB2N582412102F0G_0001
    PSU
    -
    Case
    Laptop
    Cooling
    fan
    Keyboard
    External!
    Mouse
    External
    Internet Speed
    -
    Browser
    Chrome (Chrome profiles), Firefox (Bookmark Search Plus2), Edge (History page), Opera (annoying)
    Antivirus
    WinDefender
    Other Info
    Win11 Home 23H2 22631.3447
  • Operating System
    Win10
    Computer type
    PC/Desktop
    Manufacturer/Model
    self
    Motherboard
    Gigabyte B75M-D3H
    Memory
    8068 MB Usable Installed Memory
    Graphics card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    3 Displays
    Screen Resolution
    n/a
    Hard Drives
    SSD and others (internal and external)
    Case
    Desktop
    Cooling
    Fan
    Mouse
    External
    Keyboard
    External
    Browser
    Chrome, Firefox, Tor, Brave, Opera, etc.
    Antivirus
    Win Defender
    Other Info
    Win10 & unfortunately OneDrive: Can't completely rid myself of this!!
Always use quotes when there are spaces inside the folder name.

robocopy "D:\___________Configured Items\Home" C:\Robotest\ /E /L /COPYALL
 

My Computer

System One

  • OS
    Windows 7
True. I also posted a similar thread in the Win10 forum. Truth be told, I'm struggling with the same problem in both Win10 and Win11. On Win10 I'm trying to completely backup, no, actually Empty, my C-Drive so that I can reconfigure the whole system by reinstalling Win10. On this, Win11 machine (that my wife gave me, because she hates it so) I'm trying to Copy all those files!

I don't want to be left without a lifeboat when the Win10 Reformat goes awry.

Since you, garlin, noticed my Win10 post, please let me know if you feel I should post what I learned, here. (the thread is very verbose). If I don't hear from you I will mark this subject Completed. (as a bonus, I also learned a lot about this forum's intricacies, which I won't have suffer y'all with.

If you feel I've done something wrong, that was not my purpose.
 

My Computers

System One System Two

  • OS
    Win11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inc. Inspiron 16 7610
    CPU
    Dell Inc. 0FHWFD A01
    Motherboard
    Dell Inc. 0FHWFD A01
    Memory
    16GB
    Graphics Card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    laptop (small) and 1 or 2 external monitors
    Screen Resolution
    -
    Hard Drives
    PC711 NVMe SK hynix 1TB 1.02 TB NVMe ANB2N582412102F0G_0001
    PSU
    -
    Case
    Laptop
    Cooling
    fan
    Keyboard
    External!
    Mouse
    External
    Internet Speed
    -
    Browser
    Chrome (Chrome profiles), Firefox (Bookmark Search Plus2), Edge (History page), Opera (annoying)
    Antivirus
    WinDefender
    Other Info
    Win11 Home 23H2 22631.3447
  • Operating System
    Win10
    Computer type
    PC/Desktop
    Manufacturer/Model
    self
    Motherboard
    Gigabyte B75M-D3H
    Memory
    8068 MB Usable Installed Memory
    Graphics card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    3 Displays
    Screen Resolution
    n/a
    Hard Drives
    SSD and others (internal and external)
    Case
    Desktop
    Cooling
    Fan
    Mouse
    External
    Keyboard
    External
    Browser
    Chrome, Firefox, Tor, Brave, Opera, etc.
    Antivirus
    Win Defender
    Other Info
    Win10 & unfortunately OneDrive: Can't completely rid myself of this!!
Unfortunately I don't seem to have gotten to the solution of the robocopy problem...on the Win10 forum. I've been working on this one command for over 40 hours!!

...and the problem now is the quote problem you addressed in this thread...

Would it be improper for me to post the current state of this problem with W11 users?
 

My Computers

System One System Two

  • OS
    Win11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inc. Inspiron 16 7610
    CPU
    Dell Inc. 0FHWFD A01
    Motherboard
    Dell Inc. 0FHWFD A01
    Memory
    16GB
    Graphics Card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    laptop (small) and 1 or 2 external monitors
    Screen Resolution
    -
    Hard Drives
    PC711 NVMe SK hynix 1TB 1.02 TB NVMe ANB2N582412102F0G_0001
    PSU
    -
    Case
    Laptop
    Cooling
    fan
    Keyboard
    External!
    Mouse
    External
    Internet Speed
    -
    Browser
    Chrome (Chrome profiles), Firefox (Bookmark Search Plus2), Edge (History page), Opera (annoying)
    Antivirus
    WinDefender
    Other Info
    Win11 Home 23H2 22631.3447
  • Operating System
    Win10
    Computer type
    PC/Desktop
    Manufacturer/Model
    self
    Motherboard
    Gigabyte B75M-D3H
    Memory
    8068 MB Usable Installed Memory
    Graphics card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    3 Displays
    Screen Resolution
    n/a
    Hard Drives
    SSD and others (internal and external)
    Case
    Desktop
    Cooling
    Fan
    Mouse
    External
    Keyboard
    External
    Browser
    Chrome, Firefox, Tor, Brave, Opera, etc.
    Antivirus
    Win Defender
    Other Info
    Win10 & unfortunately OneDrive: Can't completely rid myself of this!!
The following robocopy command

C:\Windows\System32> robocopy "D:\___________Configured Items\Home\Friends" C:\Robotest\ /E /COPY:DATSOU /DCOPY:DAT /MT:16 /NFL /NDL /NJH /NJS

returns

2023/08/07 16:56:36 ERROR 2 (0x00000002) Accessing Source Directory D:\___________Configured Items\Home\Friends\
The system cannot find the file specified.


C:\Windows\System32>

I thought that by putting the source directory in quotes (because a folder name had spaces in it) I had the source directory in quotes and that I would not get an error message.

Any ideas?

(Please excuse the emojis, I forgot to disable them. But I am very impressed with the ability to change font characteristics, LIVE!)
 

My Computers

System One System Two

  • OS
    Win11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inc. Inspiron 16 7610
    CPU
    Dell Inc. 0FHWFD A01
    Motherboard
    Dell Inc. 0FHWFD A01
    Memory
    16GB
    Graphics Card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    laptop (small) and 1 or 2 external monitors
    Screen Resolution
    -
    Hard Drives
    PC711 NVMe SK hynix 1TB 1.02 TB NVMe ANB2N582412102F0G_0001
    PSU
    -
    Case
    Laptop
    Cooling
    fan
    Keyboard
    External!
    Mouse
    External
    Internet Speed
    -
    Browser
    Chrome (Chrome profiles), Firefox (Bookmark Search Plus2), Edge (History page), Opera (annoying)
    Antivirus
    WinDefender
    Other Info
    Win11 Home 23H2 22631.3447
  • Operating System
    Win10
    Computer type
    PC/Desktop
    Manufacturer/Model
    self
    Motherboard
    Gigabyte B75M-D3H
    Memory
    8068 MB Usable Installed Memory
    Graphics card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    3 Displays
    Screen Resolution
    n/a
    Hard Drives
    SSD and others (internal and external)
    Case
    Desktop
    Cooling
    Fan
    Mouse
    External
    Keyboard
    External
    Browser
    Chrome, Firefox, Tor, Brave, Opera, etc.
    Antivirus
    Win Defender
    Other Info
    Win10 & unfortunately OneDrive: Can't completely rid myself of this!!
robocopy isn't different between W10 & 11. You shouldn't jump btw both forums, because it wastes the effort of someone who only visits one site.

robocopy confuses beginners because they see examples where experts throw a million options on the command line to impress you. Unless you really need them, start with the basics. "robocopy src dest /e"

Most mistakes are because you're not carefully looking at the source and dest arguments. Check the actual folders.
 

My Computer

System One

  • OS
    Windows 7
The win10 forum had a place where one could prevent emoji's from replacing colons in the text:
Where is this feature in this forum?

Example: botest\ /E /COPY:DATSOU /DCOPY:DAT
 

My Computers

System One System Two

  • OS
    Win11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inc. Inspiron 16 7610
    CPU
    Dell Inc. 0FHWFD A01
    Motherboard
    Dell Inc. 0FHWFD A01
    Memory
    16GB
    Graphics Card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    laptop (small) and 1 or 2 external monitors
    Screen Resolution
    -
    Hard Drives
    PC711 NVMe SK hynix 1TB 1.02 TB NVMe ANB2N582412102F0G_0001
    PSU
    -
    Case
    Laptop
    Cooling
    fan
    Keyboard
    External!
    Mouse
    External
    Internet Speed
    -
    Browser
    Chrome (Chrome profiles), Firefox (Bookmark Search Plus2), Edge (History page), Opera (annoying)
    Antivirus
    WinDefender
    Other Info
    Win11 Home 23H2 22631.3447
  • Operating System
    Win10
    Computer type
    PC/Desktop
    Manufacturer/Model
    self
    Motherboard
    Gigabyte B75M-D3H
    Memory
    8068 MB Usable Installed Memory
    Graphics card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    3 Displays
    Screen Resolution
    n/a
    Hard Drives
    SSD and others (internal and external)
    Case
    Desktop
    Cooling
    Fan
    Mouse
    External
    Keyboard
    External
    Browser
    Chrome, Firefox, Tor, Brave, Opera, etc.
    Antivirus
    Win Defender
    Other Info
    Win10 & unfortunately OneDrive: Can't completely rid myself of this!!
Here's a secret.... type [ CODE] ... [ /CODE] between the lines to keep written text as a literal (not interpreted as smilies).
Don't type the space btw [ and C. I can't post the actual codeword without the forum eating the lines. This works on either forum.
Remember no space after the [.

[ CODE]
my command with lots of colons and weird chars
[ /CODE]
 

My Computer

System One

  • OS
    Windows 7
THANK YOU!! (but that zombie emoji selection item in the other forum is handy!)

I have extensively (for over 40 hours! through countless youtube and non youtube sources) explored robocopy. I have begun from the most simple, entered the arguments one-by-one, and come up with the list of arguments I need.

My main task is to copy a large directory, containing many sub directories and files, (my "database, so to speak") from my Win10 machine to my Win11 machine.

I'm doing this because I need to completely reformat the Win10 machine and don't want to be left without a paddle while I contend with other problems the reformat is bound to have to contend with.

Because robocopy is no different in Win10 and Win11 that's exactly why I am addressing both forums. The Win10 forum just happens to be where I started. I'm not forcing anyone on the Win11 forum to start through the whole thing from scratch--I, with the help of two other people, already got through that.

And if there's anything I learn from one forum that the other didn't cover, I'll post it on the other forum so that all can benefit.

Now, without the crazy emoji's, this is my latest dilemma.

Code:
C:\Windows\System32> robocopy "D:\___________Configured Items\Home\Friends" C:\Robotest\ /L /E /COPY:DATSOU /DCOPY:DAT /MT:16 /NFL /NDL /NJH /NJS

2023/08/07 17:55:36 ERROR 2 (0x00000002) Accessing Source Directory D:\___________Configured Items\Home\Friends\

The system cannot find the file specified.

C:\Windows\System32>

Most mistakes are because you're not carefully looking at the source and dest arguments. Check the actual folders.

BTW: To address The reason I am still working with the code on the Command Line (/L)—and am therefore NOT going to check what’s happened in the "actual" source or destination—is because I don’t want to chance completely screwing up my source or destination computer because of an error message that shows up because I didn't get the code straight before doing the file/folder transfers.
 

My Computers

System One System Two

  • OS
    Win11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inc. Inspiron 16 7610
    CPU
    Dell Inc. 0FHWFD A01
    Motherboard
    Dell Inc. 0FHWFD A01
    Memory
    16GB
    Graphics Card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    laptop (small) and 1 or 2 external monitors
    Screen Resolution
    -
    Hard Drives
    PC711 NVMe SK hynix 1TB 1.02 TB NVMe ANB2N582412102F0G_0001
    PSU
    -
    Case
    Laptop
    Cooling
    fan
    Keyboard
    External!
    Mouse
    External
    Internet Speed
    -
    Browser
    Chrome (Chrome profiles), Firefox (Bookmark Search Plus2), Edge (History page), Opera (annoying)
    Antivirus
    WinDefender
    Other Info
    Win11 Home 23H2 22631.3447
  • Operating System
    Win10
    Computer type
    PC/Desktop
    Manufacturer/Model
    self
    Motherboard
    Gigabyte B75M-D3H
    Memory
    8068 MB Usable Installed Memory
    Graphics card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    3 Displays
    Screen Resolution
    n/a
    Hard Drives
    SSD and others (internal and external)
    Case
    Desktop
    Cooling
    Fan
    Mouse
    External
    Keyboard
    External
    Browser
    Chrome, Firefox, Tor, Brave, Opera, etc.
    Antivirus
    Win Defender
    Other Info
    Win10 & unfortunately OneDrive: Can't completely rid myself of this!!
How do I say this politely? I have no idea what your folder structure looks like. If the basic robocopy command works for a different set of folders, then you're overlooking a detail about the other folders.

If the basic copy fails, none of the "/L /COPY:DATSOU /DCOPY:DAT /MT:16 /NFL /NDL /NJH /NJS" matters. Take a break, there's something you're overlooking. Look inside the source folder.

Error code 0x00000002 is File Not Found.
 

My Computer

System One

  • OS
    Windows 7
Incidentally, all of the assistance you provided (and was provided earlier by the other folk) was stuff I could not have known by searching any of the information I so assiduously found on the internet. You probably have no idea what its like typing the same line into the Command Line Terminal (both the one with Admin privileges and the other) for hours on end.
These are the sources I studied 1691462716861.png and these are the additional sources I 1691462759531.png referred to, and not one mentioned that I had to enclose a directory address in quotes (though seeing some addressed this way I tried them--using both single and double quotes). What do you think the chances are that I'll find on my own the solution to the fact quotes around the extended directory listing now don't work, or, just as bad, why just being safe and enclosing every directory listing in quotes (though I've seen it done) doesn't work either.
 

My Computers

System One System Two

  • OS
    Win11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inc. Inspiron 16 7610
    CPU
    Dell Inc. 0FHWFD A01
    Motherboard
    Dell Inc. 0FHWFD A01
    Memory
    16GB
    Graphics Card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    laptop (small) and 1 or 2 external monitors
    Screen Resolution
    -
    Hard Drives
    PC711 NVMe SK hynix 1TB 1.02 TB NVMe ANB2N582412102F0G_0001
    PSU
    -
    Case
    Laptop
    Cooling
    fan
    Keyboard
    External!
    Mouse
    External
    Internet Speed
    -
    Browser
    Chrome (Chrome profiles), Firefox (Bookmark Search Plus2), Edge (History page), Opera (annoying)
    Antivirus
    WinDefender
    Other Info
    Win11 Home 23H2 22631.3447
  • Operating System
    Win10
    Computer type
    PC/Desktop
    Manufacturer/Model
    self
    Motherboard
    Gigabyte B75M-D3H
    Memory
    8068 MB Usable Installed Memory
    Graphics card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    3 Displays
    Screen Resolution
    n/a
    Hard Drives
    SSD and others (internal and external)
    Case
    Desktop
    Cooling
    Fan
    Mouse
    External
    Keyboard
    External
    Browser
    Chrome, Firefox, Tor, Brave, Opera, etc.
    Antivirus
    Win Defender
    Other Info
    Win10 & unfortunately OneDrive: Can't completely rid myself of this!!
Let's get super simple, type in

dir "D:\___________Configured Items\Home\Friends" and give us a screenshot of what you see.

For example, I created a test folder with some stuff in it, this is what mine looks like

1691468801542.png
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink SEI8
    CPU
    Intel Core i5-8279u
    Motherboard
    AZW SEI
    Memory
    32GB DDR4 2666Mhz
    Graphics Card(s)
    Intel Iris Plus 655
    Sound Card
    Intel SST
    Monitor(s) Displays
    Asus ProArt PA278QV
    Screen Resolution
    2560x1440
    Hard Drives
    512GB NVMe
    PSU
    NA
    Case
    NA
    Cooling
    NA
    Keyboard
    NA
    Mouse
    NA
    Internet Speed
    500/50
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    Mini PC used for testing Windows 11.
  • Operating System
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Ryzen 9 5900x
    Motherboard
    Asus Rog Strix X570-E Gaming
    Memory
    64GB DDR4-3600
    Graphics card(s)
    EVGA GeForce 3080 FT3 Ultra
    Sound Card
    Onboard
    Monitor(s) Displays
    ASUS TUF Gaming VG27AQ. ASUS ProArt Display PA278QV 27” WQHD
    Screen Resolution
    2560x1440
    Hard Drives
    2TB WD SN850 PCI-E Gen 4 NVMe
    2TB Sandisk Ultra 2.5" SATA SSD
    PSU
    Seasonic Focus 850
    Case
    Fractal Meshify S2 in White
    Cooling
    Dark Rock Pro CPU cooler, 3 x 140mm case fans
    Mouse
    Logitech G9 Laser Mouse
    Keyboard
    Corsiar K65 RGB Lux
    Internet Speed
    500/50
    Browser
    Chrome
    Antivirus
    Defender.
Question: Is your goal here to make an exact duplicate of the source folder "D:\___________Configured Items\Home\Friends" to the destination "C:\Robotest"?

If so, consider modifying the command like this:

robocopy "D:\___________Configured Items\Home\Friends" C:\Robotest /MIR /MT:16 /NFL /NDL /NJH /NJS

As an initial test I would leave off the /COPY and /DCOPY switches. Typically, you don't need those unless you have been specifically manipulating NTFS file permissions on your system (you would know if you did!).

Another question: Are you SURE that you are typing the correct number of underscores in the path? To make absoutely sure try this:

For the path "D:\___________Configured Items\Home\Friends", if you are in Windows 11, go to File Explorer and navigate to "D:\___________Configured Items\Home". Then right-click on "Friends in the right pane and select "Copy as path". This will copy the full path which you can simply paste into your command line ensuring that there are no typed errors. To paste into the command line simply right-click. You will need to add the quote marks manually.

I don't have Win 10 in front of me, but if I recall, you can accomplish the same thing by right-clicking on the folder while at the same time holding down SHIFT.

Next, I noticed that you referenced one of your folders like this:

C:\Robotest\

From a command line, this is fine, but be very careful if you do this in a batch file! If you end a path with a backslash AND you enclose the path in quotes, it may fail!

Example "C:\Robotest\"

To fix this, add another space after the backslash like this:

"C:\Robotest\ "

The reason for this is that a batch file will interpret the sequence of backslash double-quote mark (\") as an escape sequence effectivly making the second quote mark look like it does not exist.

Finally, to make sure that the path you are typing is correct, try another command with the same command. For example:

D: CD "D:\___________Configured Items\Home"

If the second command fails, then you are not typing the path correctly!
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
i use robocopy extensively to copy my serverdata directory to a secondary drive. I run a 7 day rotation, with a different scheduled task for each day of the week. Here are my 7 commands, which are in 7 different batch files and I call each one on it's respective day of the week.
C:\windows\system32\robocopy.exe D:\ServerData E:\RedundantCopy\Monday\ServerData /E /MIR
C:\windows\system32\robocopy.exe D:\ServerData E:\RedundantCopy\Tuesday\ServerData /E /MIR
C:\windows\system32\robocopy.exe D:\ServerData E:\RedundantCopy\Wednesday\ServerData /E /MIR
C:\windows\system32\robocopy.exe D:\ServerData E:\RedundantCopy\Thursday\ServerData /E /MIR
C:\windows\system32\robocopy.exe D:\ServerData E:\RedundantCopy\Friday\ServerData /E /MIR
C:\windows\system32\robocopy.exe D:\ServerData E:\RedundantCopy\Saturday\ServerData /E /MIR
C:\windows\system32\robocopy.exe D:\ServerData E:\RedundantCopy\Sunday\ServerData /E /MIR



This makes an exact duplicate of whatever I have in D:\ServerData to my E:\RundandantCopy\DayOfTheWeek\ServerData directory.

This gives me a 7 day rotation.
  • The /E gets empty subdirectories
  • The /MIR mirrors my source and destination.
Thus, If I have deleted something over the course of the week on my D:\ServerData directory, it will now also delete it in the respective E:\RudandantCopy\DayOfTheWeek\ServerData location.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink SEI8
    CPU
    Intel Core i5-8279u
    Motherboard
    AZW SEI
    Memory
    32GB DDR4 2666Mhz
    Graphics Card(s)
    Intel Iris Plus 655
    Sound Card
    Intel SST
    Monitor(s) Displays
    Asus ProArt PA278QV
    Screen Resolution
    2560x1440
    Hard Drives
    512GB NVMe
    PSU
    NA
    Case
    NA
    Cooling
    NA
    Keyboard
    NA
    Mouse
    NA
    Internet Speed
    500/50
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    Mini PC used for testing Windows 11.
  • Operating System
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Ryzen 9 5900x
    Motherboard
    Asus Rog Strix X570-E Gaming
    Memory
    64GB DDR4-3600
    Graphics card(s)
    EVGA GeForce 3080 FT3 Ultra
    Sound Card
    Onboard
    Monitor(s) Displays
    ASUS TUF Gaming VG27AQ. ASUS ProArt Display PA278QV 27” WQHD
    Screen Resolution
    2560x1440
    Hard Drives
    2TB WD SN850 PCI-E Gen 4 NVMe
    2TB Sandisk Ultra 2.5" SATA SSD
    PSU
    Seasonic Focus 850
    Case
    Fractal Meshify S2 in White
    Cooling
    Dark Rock Pro CPU cooler, 3 x 140mm case fans
    Mouse
    Logitech G9 Laser Mouse
    Keyboard
    Corsiar K65 RGB Lux
    Internet Speed
    500/50
    Browser
    Chrome
    Antivirus
    Defender.
Thank both of you!

I've bookmarked your responses



Found the problem. Started the BIG COPY

BIG COPY: Start Time: 2135 End Time: 2157


(I need to learn how to program a routine that will make a sound when the copy is completed...)
it never stops...



(I closed the Robocopy thread on the Win10 forum, because Robocopy is an equivalent process in Win10 and Win11)
But now I believe I am asking about something that is uniquely Win11 (its Task Manager)


Is there a way to monitor something that tells me something is happening (besides the blinking light on the External Drive D)? I remember reading that looking at Task manager might offer clues--I actually thought I could observe the (multi) threads for signs of activity...
 
Last edited:

My Computers

System One System Two

  • OS
    Win11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inc. Inspiron 16 7610
    CPU
    Dell Inc. 0FHWFD A01
    Motherboard
    Dell Inc. 0FHWFD A01
    Memory
    16GB
    Graphics Card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    laptop (small) and 1 or 2 external monitors
    Screen Resolution
    -
    Hard Drives
    PC711 NVMe SK hynix 1TB 1.02 TB NVMe ANB2N582412102F0G_0001
    PSU
    -
    Case
    Laptop
    Cooling
    fan
    Keyboard
    External!
    Mouse
    External
    Internet Speed
    -
    Browser
    Chrome (Chrome profiles), Firefox (Bookmark Search Plus2), Edge (History page), Opera (annoying)
    Antivirus
    WinDefender
    Other Info
    Win11 Home 23H2 22631.3447
  • Operating System
    Win10
    Computer type
    PC/Desktop
    Manufacturer/Model
    self
    Motherboard
    Gigabyte B75M-D3H
    Memory
    8068 MB Usable Installed Memory
    Graphics card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    3 Displays
    Screen Resolution
    n/a
    Hard Drives
    SSD and others (internal and external)
    Case
    Desktop
    Cooling
    Fan
    Mouse
    External
    Keyboard
    External
    Browser
    Chrome, Firefox, Tor, Brave, Opera, etc.
    Antivirus
    Win Defender
    Other Info
    Win10 & unfortunately OneDrive: Can't completely rid myself of this!!
It sounds like you finally got things sorted, but it's sad to hear that you spent dozens of hours just trying to get your command line correct.

As noted, quotes are essential in any command line when an item contains spaces.

Also note that AI chat systems, such as CharGPT, are very good for learning how to use a command line. You can paste your command and error message and ask what you did wrong. Or ask it to provide the correct command line given the source, destination, and options you'd like. AI is not perfect, but it can save you a lot of hours. IMO, AI chat is much better for learning commands than videos.

However, you could have saved yourself a lot of headaches by using a copy tool that has a point and click interface. There are many, but I recommend FastCopy. It can be operated via command line or GUI.

Also note if you wish to back up an entire volume, including the operating system, you'll need an imaging program, such as Macrium Reflect.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
It sounds like you finally got things sorted, but it's sad to hear that you spent dozens of hours just trying to get your command line correct.

As noted, quotes are essential in any command line when an item contains spaces.

Also note that AI chat systems, such as CharGPT, are very good for learning how to use a command line. You can paste your command and error message and ask what you did wrong. Or ask it to provide the correct command line given the source, destination, and options you'd like. AI is not perfect, but it can save you a lot of hours. IMO, AI chat is much better for learning commands than videos.

However, you could have saved yourself a lot of headaches by using a copy tool that has a point and click interface. There are many, but I recommend FastCopy. It can be operated via command line or GUI.

Also note if you wish to back up an entire volume, including the operating system, you'll need an imaging program, such as Macrium Reflect.
Thank you! (I'm reviewing old threads I started.) I didn't know AI chat systems could be used to learning CLI (and I imagine Registry changes?)

I'm still extensively worried about finally wiping this (Win11) computer clean, reinstalling Win11 onto it from an external drive (so as to avoid OneDrive), and then moving all the stuff I hope is important (e.g., Outlook has been very flaky and I'm worried about the integrity of my .pst file which contains practically everything relating to contacts, phone numbers, etc) BEFORE I contact Macrium and have them tutor me through how to run the program. To create an image any other way would carry over this junkpile of OneDrive generated data onto the new install...
 

My Computers

System One System Two

  • OS
    Win11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inc. Inspiron 16 7610
    CPU
    Dell Inc. 0FHWFD A01
    Motherboard
    Dell Inc. 0FHWFD A01
    Memory
    16GB
    Graphics Card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    laptop (small) and 1 or 2 external monitors
    Screen Resolution
    -
    Hard Drives
    PC711 NVMe SK hynix 1TB 1.02 TB NVMe ANB2N582412102F0G_0001
    PSU
    -
    Case
    Laptop
    Cooling
    fan
    Keyboard
    External!
    Mouse
    External
    Internet Speed
    -
    Browser
    Chrome (Chrome profiles), Firefox (Bookmark Search Plus2), Edge (History page), Opera (annoying)
    Antivirus
    WinDefender
    Other Info
    Win11 Home 23H2 22631.3447
  • Operating System
    Win10
    Computer type
    PC/Desktop
    Manufacturer/Model
    self
    Motherboard
    Gigabyte B75M-D3H
    Memory
    8068 MB Usable Installed Memory
    Graphics card(s)
    2.30 gigahertz Intel 11th Gen Core i7-11800H
    Sound Card
    Intel® Smart Sound Technology for USB Audio
    Monitor(s) Displays
    3 Displays
    Screen Resolution
    n/a
    Hard Drives
    SSD and others (internal and external)
    Case
    Desktop
    Cooling
    Fan
    Mouse
    External
    Keyboard
    External
    Browser
    Chrome, Firefox, Tor, Brave, Opera, etc.
    Antivirus
    Win Defender
    Other Info
    Win10 & unfortunately OneDrive: Can't completely rid myself of this!!
Thank you! (I'm reviewing old threads I started.) I didn't know AI chat systems could be used to learning CLI (and I imagine Registry changes?)

I'm still extensively worried about finally wiping this (Win11) computer clean, reinstalling Win11 onto it from an external drive (so as to avoid OneDrive), and then moving all the stuff I hope is important (e.g., Outlook has been very flaky and I'm worried about the integrity of my .pst file which contains practically everything relating to contacts, phone numbers, etc) BEFORE I contact Macrium and have them tutor me through how to run the program. To create an image any other way would carry over this junkpile of OneDrive generated data onto the new install...
It sounds like your best bet is to simply manually copy the contents of your library folders of your old W10 computer on an external drive and paste those contents on your new W11 computer. That way you don't carry over unwanted system files and hidden files.

If you use RoboCopy, Macrium, or any other apps, make sure you exclude anything system/hidden from your old W10 computer from getting carried over to your new W11 computer and the best exclusion is what you get manually as in the previous paragraph :-)

You want to carry over your data and nothing else.

Good luck!
 

My Computer

System One

  • OS
    Windows 10 Pro

Latest Support Threads

Back
Top Bottom