Sam,
I would make a call to the FindFirstFileEx API function through the
P/Invoke layer. You might want to look around first, as there might be a
wrapper class that wraps the various calls for you.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Sam" <an*******@discussions.microsoft.com> wrote in message
news:6D**********************************@microsof t.com...
I have looked at the Directory, File and Path classes but couldn't find
what I want. Is there a way to find a file on the harddisk or the path? Like
a search where you give a file name and it returns the directories in which
it exists.