As it stands, it works fine with just a single value, but when there are multiple values, it doesnt move any of those specific files.
If I remove the "*.txt" the docs get moved fine. I dont really want to have a different [type] for each file extension she has, but is that what is required?
This would make it easier if you just wanted to store everything into an array, and call them easily, and or write them easily to the ini. That way everything has its specific place.
That's basically how I would do it (but maybe even in a different manner than that): I'm going to go do something real quick, and then let me see if I can give you an example of how I would set it up.
The final move option.. yes, I'm sure that's the route I would have taken.
Just changed a variable in error setting.
Added a log file to the folder for tracking what was tidied... What date/What time.
There was an Error that was fixed, I'm actually using this myself... Thanks for the thread ... It's fairly useful.
i would actually go about it a different way. (go figure, i always do stuff the hard way) i was thinking, rather than trying to think of every file type you may have etc, use the registry to figure out what type of file each is, and move to a folder based on that. anybody care to see some code for it?
Hmmm... You really don't have to go to ALL that trouble, I mean with _PathSplit() there is no need for registry playing. and with 1000's of extensions out there, you don't have to worry you have the right one .
path split will give you the extension, but not the common file type name... ie: .au3 = AutoIT3 Script which could be determined from the registry. i wouldn't completely query the registry for each file, i'd create a 2 dimensional array of each extension and the assumed type for each, then just filefindfirstfile...filefindnextfile for each file in the selected folder... so then you're checking against the array... want to see some code?