Link to home
Start Free TrialLog in
Avatar of JElster
JElsterFlag for United States of America

asked on

Get file extensions of all the files on a drive

How can I write a program to transverse/recusive a drive  (C:\) and return a list of all the file extensions?

I know I can use Path.GetExtension
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JElster

ASKER

How would I get the distinct values?
thx again