Windows 10: Robocopy cannot copy files when I specify which folders to copy

Discus and support Robocopy cannot copy files when I specify which folders to copy in Windows 10 Software and Apps to solve the problem; I have an additional question on this thread, the consequence still doesn't make sense for meRegard there are folder a b c d, inside of each folder, a'... Discussion in 'Windows 10 Software and Apps' started by 1614, Jul 26, 2023.

  1. 1614 Win User

    Robocopy cannot copy files when I specify which folders to copy


    I have an additional question on this thread, the consequence still doesn't make sense for meRegard there are folder a b c d, inside of each folder, a' b' c' d' folder exists and inside there, there are a" b" c" d" files each.C:\folder\a\a'\a" c:\folder\b\b'\b" c:\folder\c\c'\c" c:\folder\d\d'\d"When IRobocopy "C:\folder\a" "c:\folder\b" "c:\folder\c" /e /copy:dat, then only structures of directories copied.Why is this happening, And If I put the origin and destination of the specific folders and run the command in sequence for each folder, nothing wrong happening?If you wanna say it

    :)
     
  2. temp02 Win User

    Java.nio.file - Copying files

    You can't copy a folder, thats why it generates an exception (you are trying to copy a folder using a copy file function).
    You probably need to list all the files inside that folder and copy one by one
     
    temp02, Jul 26, 2023
    #2
  3. Wozzer Win User
    Java.nio.file - Copying files

    Issue was the above, so thanks temp02.
     
    Wozzer, Jul 26, 2023
    #3
  4. Robocopy cannot copy files when I specify which folders to copy

    Robocopy Error 2 - copyying folder in dropbox

    I have successfully created and used the following batch file in windows10

    robocopy C:\Users\Julie\Documents\Test C:\Users\Julie\Documents\accounts-backup
    pause

    However when I run the batch below to copy the contents of a folder in Dropbox I get

    ERROR 2 (0x00000002) Accessing Source Directory C:\Users\Julie\Dropbox\accounts\
    The system cannot find the file specified.

    robocopy C:\Users\Julie\Dropbox\accounts C:\Users\Julie\Documents\accounts-backup
    pause

    Any suggestions to resolve this
     
    ColinKinsella, Jul 26, 2023
    #4
Thema:

Robocopy cannot copy files when I specify which folders to copy

Loading...
  1. Robocopy cannot copy files when I specify which folders to copy - Similar Threads - Robocopy cannot copy

  2. Robocopy copies unwanted folders

    in Windows 10 Gaming
    Robocopy copies unwanted folders: So, I'm working on a script that, among other things, backs up Documents folder to USB drive. The issue that I'm having is the same as this guy...
  3. Robocopy copies unwanted folders

    in Windows 10 Software and Apps
    Robocopy copies unwanted folders: So, I'm working on a script that, among other things, backs up Documents folder to USB drive. The issue that I'm having is the same as this guy...
  4. Robocopy Skips Copying File

    in Windows 10 Gaming
    Robocopy Skips Copying File: I have a Dell computer running Windows 10. I use Task Scheduler to copy two files to two target destinations using Robocopy. Three of the files get copied but Robocopy skips one of them. If I run the command in a command window it returns a value of 0 meaning that there...
  5. Robocopy Skips Copying File

    in Windows 10 Software and Apps
    Robocopy Skips Copying File: I have a Dell computer running Windows 10. I use Task Scheduler to copy two files to two target destinations using Robocopy. Three of the files get copied but Robocopy skips one of them. If I run the command in a command window it returns a value of 0 meaning that there...
  6. Robocopy cannot copy files when I specify which folders to copy

    in Windows 10 Network and Sharing
    Robocopy cannot copy files when I specify which folders to copy: https://answers.microsoft.com/en-us/windows/forum/all/why-robocopy-only-copy-directories-but-not-files/6dbeb8e7-f139-422a-aafe-19bd292c9297?page=1e-19bd292c9297?page=1I have an additional question on this thread, the consequence still doesn't make sense for me.Regard there...
  7. Robocopy cannot copy files when I specify which folders to copy

    in Windows 10 Gaming
    Robocopy cannot copy files when I specify which folders to copy: https://answers.microsoft.com/en-us/windows/forum/all/why-robocopy-only-copy-directories-but-not-files/6dbeb8e7-f139-422a-aafe-19bd292c9297?page=1e-19bd292c9297?page=1I have an additional question on this thread, the consequence still doesn't make sense for me.Regard there...
  8. Robocopy cannot copy files when I specify which folders to copy

    in Windows 10 Software and Apps
    Robocopy cannot copy files when I specify which folders to copy: https://answers.microsoft.com/en-us/windows/forum/all/why-robocopy-only-copy-directories-but-not-files/6dbeb8e7-f139-422a-aafe-19bd292c9297?page=1e-19bd292c9297?page=1I have an additional question on this thread, the consequence still doesn't make sense for me.Regard there...
  9. Robocopy cannot copy files when I specify which folders to copy

    in Windows 10 Network and Sharing
    Robocopy cannot copy files when I specify which folders to copy: I have an additional question on this thread, the consequence still doesn't make sense for meRegard there are folder a b c d, inside of each folder, a' b' c' d' folder exists and inside there, there are a" b" c" d" files each.C:\folder\a\a'\a" c:\folder\b\b'\b"...
  10. Robocopy cannot copy files when I specify which folders to copy

    in Windows 10 Gaming
    Robocopy cannot copy files when I specify which folders to copy: I have an additional question on this thread, the consequence still doesn't make sense for meRegard there are folder a b c d, inside of each folder, a' b' c' d' folder exists and inside there, there are a" b" c" d" files each.C:\folder\a\a'\a" c:\folder\b\b'\b"...