krokkie Posted July 28, 2010 Share Posted July 28, 2010 Hi all I've recently started using AutoIT, and all the scripts have been set up by someone before me, so I am getting to grips with the way it works. I've been posted a new challenge: We have a monthly archiving process - currently a manual process - where files are copies from various origin folders to a central folder. Out of this central folder we then zip up the files, which sound fairly simple, but here's the catch: The files are zipped to include the last day of the previous month, the whole of the last month's files, as well as the first day of the current month In other words, on the 3rd of August I will zip up everything from 30 June to 01 Aug inclusive. Is this possible with AutoIT? Link to comment Share on other sites More sharing options...
enaiman Posted July 28, 2010 Share Posted July 28, 2010 Of course it is possible and it is fairly easy on top of that. Just have a play with date/time macros @MDAY, @MON, @YEAR and the others and the problem will be half solved. Take it easy and start doing small bits at a time. Test it first on your computer with just a couple files and once you get it working - go for the big picture. Whenever you have a problem you can't manage to solve, ask here for help and post a piece of code able to replicate your problem. You will get help. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
boogieoompa Posted July 28, 2010 Share Posted July 28, 2010 To start with look at FileCopy, and DirMove (to rename). Link to comment Share on other sites More sharing options...
krokkie Posted July 29, 2010 Author Share Posted July 29, 2010 Cheers guys, I will give it a go over the next week. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now