>Hi George, >thanks for the help. What I need is a function which will return a list of folders from a given location. Something like ADIR but folders only. That I hope will speed things up. >Thanks Mark Hi Mark, Try adir(aArray,cPath+"\*.*","D"). Cetin