FSO - Identifying File attributes

P

PP

Hi Folks

Here is my requirement, please let me know if its possible to do it.

Requirement
========
I want to loop thru a folder and all its sub-folders, within these I want to
loop thru each of the files and get its attributes. The file-attribute that
I'm more interested in is the "Encoding" (for example a TEXT file can have
either of these encoding "ANSI", "UNICODE", "Unicode big endian" and
"UTF-8").

If somebody had a code (preferebly in WMI or ASP.NET 2.0 c#) that would be
of great help

Thanks
PP
 
Top