Print file sizes of every user database in SQL Server

EXEC sp_MSforeachdb
'IF ''?'' NOT IN(''master'', ''model'', ''msdb'', ''tempdb'')
USE ? SELECT ''?'', SF.filename, SF.size FROM sys.sysfiles SF'

For SQL Server 2000 use:
EXEC sp_MSforeachdb
'IF ''?'' NOT IN(''master'', ''model'', ''msdb'', ''tempdb'')
USE ? SELECT ''?'', SF.filename, SF.size FROM sysfiles SF'