문제

I'm working on a utility which has an input for a shared folder. My app requires that the folder selected is on a remote computer, and not on the local computer. I would like to recognize if the user selects C:\ from the local computer as opposed to Z:\ which is probably a network drive. How do I validate this?

도움이 되었습니까?

해결책

The function you need is GetDriveType.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top