Try

Dir$("*.", vbDirectory)

to get the directories only - this works in DOS (I've never tried it in VB!)

Note: In DOS at least, this returns any files/folders with no extension (normally this is just the folders but you can sometimes get a few files turning up as well)



------------------
Mark "Buzby" Beeton
VB Developer
[email protected]