you can use fileinfo in C#
Please see the below link.
http://www.dotnetperls.com/fileinfo
----------------------------------------------------------------------------------------------------------------------------------------------------
Roshan Joe
Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]