简体   繁体   中英

How to check if a file is in a local drive in Air / Flex

In Adobe Air, is there any way to check if the path of a file belongs to a local (non-network) drive?

I mainly would need to use this in Windows, but if there was a cross-platform approach it would be even better.

I know that c: and d: are the usual local drives in Windows. However, there is no rule for other letters, and it is these cases that I am after.

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