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

Author Message


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

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License