>But I'm working on a new program where it just doesn't work - returns >maxFiles% as Zero every time, whatever I do. After your DIMs, change "maxFiles% = 0" to "maxFiles% = 1". maxFiles% needs to be set to a positive number before calling FINDERINFO. I don't know if it matters what you set it to. You may want to try making it maxFiles% = 4 since that's the maximum you're accepting. Al Staffieri Jr. AlStaff@... http://members.aol.com/AlStaff/index.html