Copy Current Modify Date File from one location to one location
HI All,
I want to copy today file(based on created date of file) from one location to one location via Winscp Script.
But i want to copy only today file(1.txt) in folder oldpath to newpath
Sample code
copy C:\oldpath\* D:\newpath
Data in old path:
1.txt (Created date file on 12-07-2017 =today)
2.txt (Created date file on 11-07-2017 )
3.txt (Created date file on 11-07-2017 )
Data newpath
1.txt after run script.
Regards,
Odom
I want to copy today file(based on created date of file) from one location to one location via Winscp Script.
But i want to copy only today file(1.txt) in folder oldpath to newpath
Sample code
copy C:\oldpath\* D:\newpath
Data in old path:
1.txt (Created date file on 12-07-2017 =today)
2.txt (Created date file on 11-07-2017 )
3.txt (Created date file on 11-07-2017 )
Data newpath
1.txt after run script.
Regards,
Odom