I would like you to enhance the COPY and DIR commands to o this:
COPY /UF and COPY /U should always use the Modify date in order to determine whether or not to copy a file. Sometimes when I use COPY /UF, the command copies every file in the directory tree, not just those files in the target directory that don't exist or that have an older Modify timestamp. The COPY command should be made much more robust so that this doesn't happen.
COPY /UF and COPY /U should always use the Modify date in order to determine whether or not to copy a file. Sometimes when I use COPY /UF, the command copies every file in the directory tree, not just those files in the target directory that don't exist or that have an older Modify timestamp. The COPY command should be made much more robust so that this doesn't happen.