tags:

views:

71

answers:

2

I am searching for all drives and their contents. I don't want to search network drives. How can I determine if a given drive is network mounted? What I would want further is to get similar information one gets using NET USE command?

+5  A: 

You want the GetDriveType function.

Greg Hewgill
A: 

Also if you would like to add remove drives or check status, check this article out:

http://support.microsoft.com/kb/173011

That's using the win32 api.

mortenbpost