Pages

Auto copy script for windows OS

@echo off


set X=<days>


set "source=C:\<Source Folder Path>"


set "destination=D:\<Destination Folder Path>"


robocopy "%source%" "%destination%" /mov /minage:%X%


exit /b