
How to detect if drive is local or network drive
Checkout the API function of GetDriveType in KERNEL32. It determines a type
of disk drive. Returns a constant of success for the following types:
DRIVE_RAMDISK, DRIVE_REMOTE, DRIVE_FIXED, DRIVE_CDROM, and DRIVE_REMOVABLE.
HTH
--
Patrick Logan, MCSD
Senior Technical Development Advisor
McKessonHBOC -- Extended Care Solutions Group
Opinions expressed are my own and not necessarily those of McKessonHBOC.