simple robocopy script

@echo off
set date_=%date:/=-%
set source=\\My Source
set destin=\\My Dest\%date_%
mkdir %destin%
robocopy /s /r:1 /w:5 /maxage:1 “%source%” “%destin%”
@echo on

Leave a Reply

Your email address will not be published. Required fields are marked *