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 Network and Sharing to solve the problem; https://answers.microsoft.com/en-us/windows/forum/all/why-robocopy-only-copy-directories-but-not-files/6dbeb8e7-f139-422a-aafe-19bd292c9297?page=1e-19bd... Discussion in 'Windows 10 Network and Sharing' started by 1614, Jul 27, 2023.

  1. 1614 Win User

    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 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 'of structures' only directories copied, no files copi

    :)
     
  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 27, 2023
    #2
  3. Wozzer Win User
    Java.nio.file - Copying files

    Issue was the above, so thanks temp02.
     
    Wozzer, Jul 27, 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 27, 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 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...
  3. 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...
  4. 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...
  5. 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...
  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: 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"...
  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: 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"...
  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: 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"...
  9. Robocopy not copying newer file

    in Windows 10 Network and Sharing
    Robocopy not copying newer file: I have a file in a OneDrive folder named bernie3_journal.txt. It has today's date which is 10/7. I'm trying to use robocopy to copy the file to my son's OneDrive folder as shown below. The bernie3_journal.txt file in my son's OneDrive folder has a date stamp of 8/5. I've...
  10. How Robocopy copy the folder start with A?

    in Windows 10 Installation and Upgrade
    How Robocopy copy the folder start with A?: Hi Recently i want to migrate my laptop to my desktop data, and i want to do it batch by batch So it is the below command is the correct command to copy the folder name start with A robocopy C:\Users\xxx\ a*.* /S ?MIR Z:\Users\xxx\ /COPY:DT /DCOPY:T Thank You...