conception_native_0123
Well-known member
- Local time
- Today, 15:23
- Joined
- Mar 13, 2021
- Messages
- 1,922
arnelgp help me with this not too long ago. but it is not working the way i want. here is my file now
i have many files in C:\Users\u\1 that have newed modified dates than they have in u\2. the same file names are in both. but files are not being overwritten in any subfolder below u\2. just files in "u\2" top level directory being overwritten. "E" switch causes ALL files in all subfolders from u\1 to overwrite equivalents in u\2, but i do not want this. only overwrite files into u\2 that have newer date modified stamps. /IS switch is supposed to do this is it? i am lost. what am i supposed to do? thanks.
this is my other thread where i learned the /IS switch.
Code:
@echo off
echo Overwriting files in [C:\Users\u\2] and all its subdirectories...
robocopy "C:\Users\u\1" "C:\Users\u\2 /E /IS
exit
this is my other thread where i learned the /IS switch.
robocopy not working...
where is arnelgp? need him again! my robocopy is stopping without going through with first command. i do not know how to print out errors with pipe or anything. it just breaking on first command. even when i run with second command only, it not working. here is my whole script @echo off...
www.access-programmers.co.uk