This gets the file via COM, but I don't know what to do with it now... The for/next thig returns nothing.

code:
$filedir="\\server\drives$$\Listening\Singles"
$obj = createobject("Scripting.FileSystemObject")
$objdoc = $obj.getfolder("$filedir")
? $objdoc

$file= $obj.GetFile("$filedir\01--Wils.mp3")
? $file
? $file.name
for each $property in $file
? $property.name + "=" + property.value
next

$obj.quit

_________________________
How to ask questions the smart way <-----------> Before you ask