I'm using the batch file below:
@echo
for /f "tokens=1-3 delims=/ " %%a in ('date /t') do (
set _date=%%a%%b%%c
)
robocopy D:\a D:\b /mir /mot:1 /log:"d:\logs\%_date%.txt"
exit
But it creates a single file.
I'd want robocopy logs of each day in a separate text file , named with the current date.