Quantcast
Channel: Tech Support Guy
Viewing all articles
Browse latest Browse all 38405

Copying current date within file name

$
0
0
I am trying to create a bat that will copy a file which file name contains the current date. Each day there will be a new file added to the source directory. So each day i need the bat only pulling the file with the current date.

ie:Today would be 120312 and i only want today's file(Surf_Report-120312.xlsx)
Surf_Report-120112.xlsx
Surf_Report-120212.xlsx
Surf_Report-120312.xlsx

Viewing all articles
Browse latest Browse all 38405

Trending Articles