The file copies fine so nothing wrong with the syntax. The problem is that it keeps the original modified timestamp in the destination folder. I need that to be updated when it copes. E.g. If I manually copy and paste the file to the directory it updates the modified date to now... I'd of thought x ...
Hi, In a batch script 'm doing a: XCOPY <file> <destination> and I expected the modified date of the file in the destination folder to be the time the command is executed but it is keeping the original modified timestamp... I've tried doing a: copy /b <file> +,, before the XCOPY to attempt to change...