Copy to Clipboard
@echo off
for /f %%i in ('powershell ^(get-date^).DayOfWeek') do set dow=%%i
echo %dow%
rem The above now has the day like "Tuesday" or "Friday" set as an environment variable
robocopy /mir /r:0 /DCOPY:T /xj c:\ "h:\Backups\Daily\%dow%"
|