Windows 10: Why robocopy only copy directories but not exe files?

Discus and support Why robocopy only copy directories but not exe files? in Windows 10 Software and Apps to solve the problem; I've tried robocopy to directories of programs, However, when I see the consequences, only directories were copied but program files weren't copied.... Discussion in 'Windows 10 Software and Apps' started by 1614, Jul 11, 2023.

  1. 1614 Win User

    Why robocopy only copy directories but not exe files?


    I've tried robocopy to directories of programs, However, when I see the consequences, only directories were copied but program files weren't copied. But when I pick exe files to copy, then it is copiedWhy is that, and is there any way to solve this?

    :)
     

  2. Robocopy - copy changed files only

    Hi Andy,

    Try "Robocopy /MIR" which mirrors a directory tree. It automatically skips files that are identical. Note that it also removes the extra files from the destination folder.

    Or, try one of the specialized free file sync tools listed in this article.
     
    Ramesh Srinivasan, Jul 11, 2023
    #2
  3. Robocopy hangs, dependant on working directory

    Hi lb483,



    Welcome to Microsoft Community. I'm Mosken, let me help you.



    According to your description, I knew that there is no log files as you would expect when you copy files with Robocopy, even if you have included the /log parameter. Is that right?



    Generally, running Command Prompt requires basic permissions, you can successfully copy the file that means you have sufficient permissions to access (read, write, modify) the source and destination locations and their data, but I still suggest you try run the Command Prompt as an administrator and then Execute the command again.



    Then I suggest you redirect the log file to a directory other than the source and destination when you use /log parameter, such as a non-root directory on a non-system partition or the desktop.



    You can visit robocopy | Microsoft Docs to get more detailed information about Robocopy, hope it will help you.

    The above steps are provided based on the information I have learned so far, and hope that could help you a little. If the problem still exists, please provide us a full PSR from the beginning, through the whole process, and until the error message is displayed, so we can further investigate.



    Best Regards,

    | Microsoft Community Support Specialist
     
    Mosken-MSFT, Jul 11, 2023
    #3
  4. Why robocopy only copy directories but not exe files?

    Robocopy vs Copy-paste  

    Actually, that command won't list files that are not being copied BUT it lists all the directories that it traverses. To suppress that. simply tack on a /NDL (No Directory Listing).

    In the sample output below, note that the folder I am mirroring has 820 directories and 2708 files. The folders are already synced so not a single file or directory is displayed in the output.

    Code:
     
    hsehestedt, Jul 11, 2023
    #4
Thema:

Why robocopy only copy directories but not exe files?

Loading...
  1. Why robocopy only copy directories but not exe files? - Similar Threads - Why robocopy copy

  2. Why robocopy only copy directories but not files?

    in Windows 10 Network and Sharing
    Why robocopy only copy directories but not files?: I've tried robocopy to directories of programs, However, when I see the consequences, only directories were copied but program files weren't copied. But when I pick exe files to copy, then it is copiedWhy is that, and is there any way to solve this?Here is the command I...
  3. Why robocopy only copy directories but not files?

    in Windows 10 Gaming
    Why robocopy only copy directories but not files?: I've tried robocopy to directories of programs, However, when I see the consequences, only directories were copied but program files weren't copied. But when I pick exe files to copy, then it is copiedWhy is that, and is there any way to solve this?Here is the command I...
  4. Why robocopy only copy directories but not files?

    in Windows 10 Software and Apps
    Why robocopy only copy directories but not files?: I've tried robocopy to directories of programs, However, when I see the consequences, only directories were copied but program files weren't copied. But when I pick exe files to copy, then it is copiedWhy is that, and is there any way to solve this?Here is the command I...
  5. Why robocopy only copy directories but not exe files?

    in Windows 10 Network and Sharing
    Why robocopy only copy directories but not exe files?: I've tried robocopy to directories of programs, However, when I see the consequences, only directories were copied but program files weren't copied. But when I pick exe files to copy, then it is copiedWhy is that, and is there any way to solve this?...
  6. Why robocopy only copy directories but not exe files?

    in Windows 10 Gaming
    Why robocopy only copy directories but not exe files?: I've tried robocopy to directories of programs, However, when I see the consequences, only directories were copied but program files weren't copied. But when I pick exe files to copy, then it is copiedWhy is that, and is there any way to solve this?...
  7. Robocopy - copy changed files only

    in Windows 10 Gaming
    Robocopy - copy changed files only: Hi, I have restored not recovered a PC from a Windows 7 backup taken 28th June. I have a Robocopy of the PC taken 30th June. I would like to now copy to the PC any files which changed after I took the Windows 7 backup on the 28th. I specifically do not want to copy any files...
  8. robocopy only copies a couple of files

    in Windows 10 Gaming
    robocopy only copies a couple of files: Initially I'd like to simply copy updated or missing files from the source to the destination locally...make a backup basically. I created an empty directory "testfolder" on the destination. I've tried NTFS and FAT32 destination drives initially I thought FAT32 was the issue....
  9. robocopy only copies a couple of files

    in Windows 10 Software and Apps
    robocopy only copies a couple of files: Initially I'd like to simply copy updated or missing files from the source to the destination locally...make a backup basically. I created an empty directory "testfolder" on the destination. I've tried NTFS and FAT32 destination drives initially I thought FAT32 was the issue....
  10. robocopy only copies a couple of files

    in Windows 10 Installation and Upgrade
    robocopy only copies a couple of files: Initially I'd like to simply copy updated or missing files from the source to the destination locally...make a backup basically. I created an empty directory "testfolder" on the destination. I've tried NTFS and FAT32 destination drives initially I thought FAT32 was the issue....