Merging mesh , making all these polygons together


I have a list of static meshes ,
i have to apply same material
to all polygons ,
say like some 500
but everything is in subfolders and each polygon
lies under a folder like folders
how do i apply the same material
should i connect these meshes ?
I have no idea, kindly help