- Local time
- 8:20 AM
- Posts
- 216
- Location
- Space Coast of Florida
- OS
- Windows 11 Pro X64 23H2 Build 26100.3194
Trying to sync (copy via robocopy) a drive from my work desktop to a NAS 2TB hard drive.
Here is the batch file I've been using for a long time that is now not working:
Above is with /R:0 /W:0 /B /XJD /XJF that I just added but it makes no difference except it now ends on the first error. What I want robocopy to do is ignore the error and continue. Any way to do that?
Edit: How do I stop the editor from changing : D to the smiley face?
Here is the batch file I've been using for a long time that is now not working:
Rem Copy new or changed files from "er2_d" to NAS
robocopy "\\Ascthrifter2\er2_d" "\\172.16.103.182\public\2022-06-23" /E /XD "Dell Optiplex 5010 Backups" "Lenovo Ideacenter K450e Type 90B3 Backups" "$RECYCLE.BIN""System Volume Information" /DCOPY:DAT /IS /R:0 /W:0 /B /XJD /XJF
pause
Above is with /R:0 /W:0 /B /XJD /XJF that I just added but it makes no difference except it now ends on the first error. What I want robocopy to do is ignore the error and continue. Any way to do that?
C:\Windows\System32>Rem Copy new or changed files from "er2_d" to NAS
C:\Windows\System32>robocopy "\\Ascthrifter2\er2_d" "\\172.16.103.182\public\2022-06-23" /E /XD "Dell Optiplex 5010 Backups" "Lenovo Ideacenter K450e Type 90B3 Backups" "$RECYCLE.BIN" "System Volume Information" /DCOPY:DAT /IS /R:0 /W:0 /B /XJD /XJF
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------
Started : Thursday, April 11, 2024 3:49:01 PM
Source : \\Ascthrifter2\er2_d\
Dest : \\172.16.103.182\public\2022-06-23\
Files : *.*
Exc Dirs : Dell Optiplex 5010 Backups
Lenovo Ideacenter K450e Type 90B3 Backups
$RECYCLE.BIN
System Volume Information
Options : *.* /S /E /DCOPY:DAT /B /IS /XJF /XJD /R:0 /W:0
------------------------------------------------------------------------------
14 \\Ascthrifter2\er2_d\
2024/04/11 15:49:01 ERROR 5 (0x00000005) Changing File Attributes \\172.16.103.182\public\2022-06-23\
Access is denied.
------------------------------------------------------------------------------
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 0
Files : 0 0 0 0 0 0
Bytes : 0 0 0 0 0 0
Times : 0:00:00 0:00:00 0:00:00 0:00:00
Ended : Thursday, April 11, 2024 3:49:01 PM
Edit: How do I stop the editor from changing : D to the smiley face?
Last edited:
My Computer
System One
-
- OS
- Windows 11 Pro X64 23H2 Build 26100.3194
- Computer type
- PC/Desktop
- Manufacturer/Model
- Dell Vostro 3910
- CPU
- 12th Gen Intel Core i7-12700, 2.1Ghz
- Memory
- 32.0GB PC3-12800 DDR3 SDRAM
- Graphics Card(s)
- EVGA GeForce GTX 780
- Sound Card
- Realtek HD Audio
- Monitor(s) Displays
- Visio 32" TV
- Screen Resolution
- 1920x1080
- Hard Drives
- 1.0TB Model NVMe ADATA LEGEND 700 GOLD
2TB Seagate ST2000NM0011 72K SATA-6GB;
2TB Seagate ST2000DM006-2DM164 72K SATA-6GB (external)
- PSU
- ?
- Keyboard
- Dell USB (KVMS)
- Mouse
- Logitec USB (KVMS)
- Internet Speed
- 374.10MB Down, 11.75MB Up
- Browser
- Edge - eM Client Pro for E-Mail
- Antivirus
- Windows Security
- Other Info
- Purchased December 2013, many upgrades since then