Windows 10: Robocopy renames the target directory to the same directory once done running

Discus and support Robocopy renames the target directory to the same directory once done running in Windows 10 Software and Apps to solve the problem; Hi,Trying to copy all folders to another directory on same disk and partitionrobocopy c:\Users\bob\Document c\users\Bob\1-BobBackup /sthis runs when... Discussion in 'Windows 10 Software and Apps' started by PayitForward0918, Mar 10, 2025 at 11:12 PM.

  1. Robocopy renames the target directory to the same directory once done running


    Hi,Trying to copy all folders to another directory on same disk and partitionrobocopy c:\Users\bob\Document c\users\Bob\1-BobBackup /sthis runs when complete, the 1-BobBackup is renamed "Document" resulting in 2 "Document " folders making it confusing which is source and target going forward.What am I missing?Thanks!

    :)
     
    PayitForward0918, Mar 10, 2025 at 11:12 PM
    #1
  2. ric982 Win User

    robocopy to NAS affecting target directory such that it is Hidden on macOS

    Have a WIndows 10 and a MacOS Monterey 12.6 system connected through an ethernet switch to a Synology DSM7 NAS box. I'm using robocopy in a .cmd script that I schedule nightly to backup windows volumes (other than CRobocopy renames the target directory to the same directory once done running :) to the NAS. I can see the files are being backuped up OK looking on the NAS.The directory on the NAS is like:

    \\NetBackup\Intel1\Volumes\D (in the case of my D volume on Intel1)

    On the Mac, I have the share mounted and the path to the directory there is:

    /Volumes/NetBackup/Intel1/Volumes/

    I can show hidden files in this directory in Finder and I see that directory D is there, but it is hidden. The files under /Volumes/NetBackup/Intel1/Volumes/D are not hidden. In the Mac terminal, I can

    ls -laO /Volumes/NetBackup/Intel1/Volumes

    And I can see the 'hidden' flag is set on the D directory. I can issue

    chflags nohidden /Volumes/NetBackup/Intel1/Volumes/D

    and it resets the hidden flag and the directory is visible as a normal directory in Finder. However, if I re-run the script with robocopy again, the D directory is hidden again. The robocopy command is:

    robocopy D:\ \\NAS1\NetBackup\Intel1\Volumes\D /xd --exclude-dirs-- /xf --exclude-files-- /log+:--log-file-- /mir /fft /np /dcopyRobocopy renames the target directory to the same directory once done running :DAT /r:5 /w:5 /mt:32

    Why would this command affect the target directory's hidden flag and is there a way to prevent that?
     
  3. Drone Win User
    Directory Size Utility

    First of all nice utility, Mindweaver!
    Second of all, it's so nice to see that this section ain't dead.

    I have a few questions/suggestions, maybe you'd want to see ...
    • maybe you rename Get Folder button caption to something more intuitive? Add Folder, Get Folder Size, Check Folder Size or something like that?
    • Could you add subfolder files to the right pane? (it can be a tickbox with include sub dirs)
    • maybe you also add export list to excel?
    • there's delete file button maybe you add delete folder button too?
    • and finally maybe you can add UP button for directories?
     
  4. Robocopy renames the target directory to the same directory once done running

    Directory Size Utility

    New! Directory Size Utility BETA v1.1

    New features!
    • New button icons!
    • New Total selected directory size!
    • Made the Exit button text bigger!
    Download here
     
Thema:

Robocopy renames the target directory to the same directory once done running

Loading...
  1. Robocopy renames the target directory to the same directory once done running - Similar Threads - Robocopy renames target

  2. Robocopy renames the target directory to the same directory once done running

    in Windows 10 Gaming
    Robocopy renames the target directory to the same directory once done running: Hi,Trying to copy all folders to another directory on same disk and partitionrobocopy c:\Users\bob\Document c\users\Bob\1-BobBackup /sthis runs when complete, the 1-BobBackup is renamed "Document" resulting in 2 "Document " folders making it confusing which is source and...
  3. robocopy to NAS affecting target directory such that it is Hidden on macOS

    in Windows 10 Network and Sharing
    robocopy to NAS affecting target directory such that it is Hidden on macOS: Have a WIndows 10 and a MacOS Monterey 12.6 system connected through an ethernet switch to a Synology DSM7 NAS box. I'm using robocopy in a .cmd script that I schedule nightly to backup windows volumes other than C: to the NAS. I can see the files are being backuped up OK...
  4. robocopy to NAS affecting target directory such that it is Hidden on macOS

    in Windows 10 Gaming
    robocopy to NAS affecting target directory such that it is Hidden on macOS: Have a WIndows 10 and a MacOS Monterey 12.6 system connected through an ethernet switch to a Synology DSM7 NAS box. I'm using robocopy in a .cmd script that I schedule nightly to backup windows volumes other than C: to the NAS. I can see the files are being backuped up OK...
  5. robocopy to NAS affecting target directory such that it is Hidden on macOS

    in Windows 10 Software and Apps
    robocopy to NAS affecting target directory such that it is Hidden on macOS: Have a WIndows 10 and a MacOS Monterey 12.6 system connected through an ethernet switch to a Synology DSM7 NAS box. I'm using robocopy in a .cmd script that I schedule nightly to backup windows volumes other than C: to the NAS. I can see the files are being backuped up OK...
  6. Robocopy automatically taking source directory as the script file directory

    in Windows 10 Network and Sharing
    Robocopy automatically taking source directory as the script file directory: Synopsis:- Script file directory name -> PowerShellScripts in Desktop in local C:\...- Script file name -> Dbackup.ps1- Intended source for mirroring -> D:\ a partition on local hard disk- Intended destination for mirroring -> F:\D_LAPTOP_BACKUP_ ... F: is external SSD...
  7. Robocopy automatically taking source directory as the script file directory

    in Windows 10 Gaming
    Robocopy automatically taking source directory as the script file directory: Synopsis:- Script file directory name -> PowerShellScripts in Desktop in local C:\...- Script file name -> Dbackup.ps1- Intended source for mirroring -> D:\ a partition on local hard disk- Intended destination for mirroring -> F:\D_LAPTOP_BACKUP_ ... F: is external SSD...
  8. Robocopy automatically taking source directory as the script file directory

    in Windows 10 Software and Apps
    Robocopy automatically taking source directory as the script file directory: Synopsis:- Script file directory name -> PowerShellScripts in Desktop in local C:\...- Script file name -> Dbackup.ps1- Intended source for mirroring -> D:\ a partition on local hard disk- Intended destination for mirroring -> F:\D_LAPTOP_BACKUP_ ... F: is external SSD...
  9. Renaming parent directory

    in Windows 10 Ask Insider
    Renaming parent directory: So I bought a pc off my old boss. I've had it for about a year. I've been trying to change the user directory to my name in cmd. I have the pc renamed account named and admin to my name but when I save homework assignments or anything it has his name. And in cmd I get...
  10. Rename the "User" Directory

    in User Accounts and Family Safety
    Rename the "User" Directory: I moved my Users folder from C:\ to D:\ via C:\>Robocopy /xj /Mir /Move /CopyAll C:\Users D:\Users C:\>RMdir C:\Users /s /q and creating a Junction C:\> MkLink /j C:\Users D:\Users All fine and dandy until I had to reinstall windows again. I renamed D:\Users to...