Topic "pick up files according to the timestamp of filename"

Author Message
feihlk

Guest


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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
That actually does not seem to be WinSCP-related. Consider asking on http://superuser.com/. Post a link here, if you do.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License