I have the following code that copies certain files from one folder into another. I want to name the copied file to 'Customer Dets'. I want to do it in the same batch file if possible.
@ECHO OFF
FOR /F "tokens=2 delims= " %%V IN ("%DATE%") DO SET TDY=%%V
xcopy /y "C:\Users\rnan\Desktop\Batch Files\KGP\FileHistory\*Customer*" "C:\Users\rnan\Desktop\Batch Files\*.*" /d:%TDY%
SET TDY=