Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

retrieve list of mapped network drives?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • retrieve list of mapped network drives?

    How can a PC program retrieve a list of the currently mapped network drives? (API to call? Or read some .CFG file maybe?)

  • #2
    retrieve list of mapped network drives?

    Gene, Looks like you would first run the GetLogicalDrives API first to get the drives defined to the system, then run the GetDriveType API to check to see if it is a remote drive. Bill

    Comment


    • #3
      retrieve list of mapped network drives?

      Another option would be to run the 21h interrupt: int 21h, function 44h, Sub Function 09h. If DX is 0x0800 and bit 12 is set, the drive is a remote drive. Bill

      Comment

      Working...
      X