pick up files according to the timestamp of filename

Advertisement

feihlk
Guest

pick up files according to the timestamp of filename

Actually, i have a winscp batch file

Below is the script i loop through a folder and copy all files under sub folder with ip in the file name.


Now i want to pickup file name that contains ip and also the day of the time stamp that is between 29th and 11th of month, how can i achieve this request? thanks.



FOR /R "C:\Share\PRC Interface" %%G IN (*_IP_*.csv) DO move "%%G" C:\ERP_Interface\PRCERP\IP

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum