Thanks Chris, Won't #4 simply return all mapped drives?
Dave Lum - [EMAIL PROTECTED] Sr. Network Specialist - Textron Financial 503-675-5510 -----Original Message----- From: Chris Jordan [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 28, 2002 03:50 AM To: NT 2000 Discussions Subject: RE: Drive mappings There is an API that will return that information. This is a snippet of VB Code that might help. How you turn that into simple script code in KIX or elsewhere, I am not sure..... Private Declare Function GetDriveType Lib "kernel32" Alias "GetDriveTypeA" (ByVal nDrive As String) As Long Private Sub Form_Load() Select Case GetDriveType("C:\") Case 2 Me.Print "Removable drive" Case 3 Me.Print "Drive is Fixed" Case Is = 4 Me.Print "Remote mapped drive" Case Is = 5 Me.Print "Cd-Rom" Case Is = 6 Me.Print "Ram disk" Case Else Me.Print "Unrecognized" End Select End Sub -----Original Message----- From: Lum, David [mailto:[EMAIL PROTECTED]] Sent: 27 November 2002 20:09 To: NT 2000 Discussions Subject: Drive mappings Does any use or know of a utility that will list drive mappings and differentiate between what is a locally assigned mapping - meaning the client does the mapping instead of the login script, and a login script assigned one? I'm looking for basically a modifed NET USE output, something like this: F: \\<servername\sharename> G: \\<servername\sharename> I: \\<servername\sharename> *Locally mapped drive** ------ You are subscribed as [email protected] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED]
