those are FSO object's and i dont think that there is a file extension object... I think that there is a .filetype but will not give you what you want.

use something like this.
Code:
$ext = substr($file.name,Instrrev($file.name,'.')+1)



to give you the file extension in a variable.


Bryce