This gives you the name of the filegroup, the logical filename and the path.
SELECT fg.Groupname, f.Name, f.filename
FROM sysfiles f JOIN
Sysfilegroups fg
ON f.groupid = fg.groupid
In SQL 2005 you would use the Managemebnt views.
markus
[font="Verdana"]Markus Bohse[/font]