I just wrote the attached UDF to solve a need I had to be able to return the property of a file given the property name.
If a property name is not specified or blank, a 2 dimensional array is returned listing all valid properties and their values.
Some examples:
$bitrate = _GetFileProperty("C:\WINDOWS\clock.avi", "Bit Rate") ;gives "00:00:12"
$size = _GetFileProperty("C:\WINDOWS\Gone Fishing.bmp", "Dimensions") ;gives "128 x 128"
$company = _GetFileProperty("C:\WINDOWS\Notepad.exe",