Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: pick up files according to the timestamp of filename

That actually does not seem to be WinSCP-related. Consider asking on https://superuser.com/. Post a link here, if you do.
feihlk

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