简体   繁体   中英

How to determine whether a drive is network mounted?

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?

您需要GetDriveType函数。

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM