copyback.bat
:sleeploop
REM Sleep.bat can be run from any script because it is located in H:\CTC Tools\
REM Script will pause at this command for the specified number of seconds
REM Edit the next line to set the sleep interval to the number of seconds you prefer.
call sleep.bat 900
REM Copy the files you want from T: to H:
REM This examples presumes you have defined %OUTDIR% in your main batch script
REM Edit the next two lines to copy the files you want to copy
copy /Y T:\%USERNAME%\*.out %OUTDIR%
copy /Y T:\%USERNAME%\*.err %OUTDIR%
goto sleeploop