I need to copy files from Folder A to that are not present in folder B, that start with the format YYYYMMDD_HH(this is based on the system date)
Also, I need to create the list of the files that had been copied from folder A to Folder B.
I was able to acheive the format for using the script
for /F "tokens=1-4 delims=/- " %%A in ('date/T') do set DATE=%%D%%C%%B
for /F "tokens=1-4 delims=:., " %%a in ('time/T') do set TIME=%%a
I am in a fix on how to use the above variable to copy the files and also create the list of the files copied to a text file.