Copy files!

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
materazi
Newbie
Posts: 2
Joined: Sun Feb 26, 2012 8:23 am

Copy files!

Post by materazi » Sun Feb 26, 2012 8:51 am

Hi!
I'm a beginner in Macro. Prompt how to write the following macro please. It is necessary to transfer from one folder to another all files, but only new. The fourth and fifth characters in a name of files this date in 16 system. It is necessary that the script selected files only for today.Sorry for bad language

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Mon Mar 05, 2012 11:47 am

Look at the help for the GetFileList function. Basically you can get a list of files, loop through them and look at the filename, parse out the date, and then if that matches today do the copy.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts