- Jun
- 22
- 0
When using copy /u /s Dir1 Dir2 while Dir1 or a subdir of it contains no files but only subdirs there comes a message "no more files" and an internal error %2 is thrown. Although this behaviour is probalby correct (I do not exactly know the specs) is it unusable: using this in a batch file with an "on error" set the workflow will never come to all of the subdirs to synchronize them.
suggestion: an additional flag to ignore (but nevertheless copying or not according to the /f-flag) empty dirs when using the /s-switch.
suggestion: an additional flag to ignore (but nevertheless copying or not according to the /f-flag) empty dirs when using the /s-switch.