I have a number of servers that I need to monitor, both SQL Server 2000 and 2005. I use similar code with an SSIS package to collect this information from...
The fileproperty function needs to be used in the context of the database. I plan to call this from an MS Access database (I will convert it to .Net later)...