noleghair Posted August 8, 2006 Posted August 8, 2006 (edited) i have a folder on the network that i send new tasks to a couple of times a day. Each of the tasks are folders with a couple of files in them. In that root folder i also have an archive folder. What i would like to do is create a program that i would put in windows scheduler so at the end of every day it would run and it would take every folder that is not named "archive" and move it to the archive folder. i was thinking i would create either an INI or a text DB that would contain all of the folders i dont want to move and then check all of the folders contents against that list I have used filefindfirst and next to do the same thing with files before, how can i do it with folders? any help would be awesome. Edited August 8, 2006 by noleghair
Moderators SmOke_N Posted August 8, 2006 Moderators Posted August 8, 2006 i have a folder on the network that i send new tasks to a couple of times a day. Each of the tasks are folders with a couple of files in them. In that root folder i also have an archive folder. What i would like to do is create a program that i would put in windows scheduler so at the end of every day it would run and it would take every folder that is not named "archive" and move it to the archive folder. i was thinking i would create either an INI or a text DB that would contain all of the folders i dont want to move and then check all of the folders contents against that listI have used filefindfirst and next to do the same thing with files before, how can i do it with folders? any help would be awesome.DirMove()? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
evilertoaster Posted August 8, 2006 Posted August 8, 2006 FileFindFirst and next work on directoies also.
noleghair Posted August 9, 2006 Author Posted August 9, 2006 i guess i didnt know file find next works on folders. thank you
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