@ECHO off
setlocal
CHCP 65001
SET EXT=.xlsx
SET FOLDER=G:\localuser\Documents\13_Warehouse_report\Slots\test\
SET BACKUP_FOLDER=G:\localuser\Documents\13_Warehouse_report\Slots\
SET DATE=%date:~6,4%%date:~3,2%%date:~0,2%_%time:~0,2%%time:~3,2%%time:~6,2%
for /F "delims=" %%A in ('DIR "%FOLDER%*%EXT%" /T:A /A:-D /B') DO SET NEW_FILE=%%~nA
copy "%FOLDER%%NEW_FILE%%EXT%" "%BACKUP_FOLDER%%NEW_FILE%_%DATE%%EXT%"