Results 1 to 2 of 2

Thread: getting the drive letter

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Pittsburgh, PA
    Posts
    329
    i need to get the letter of the users hard drive and store it in a variable. thanks in advance.

  2. #2
    Lively Member
    Join Date
    Jun 1999
    Posts
    120
    use GetLogicalDriveStrings (an API function)

    the declaration is:

    Declare Function GetLogicalDriveStrings Lib "kernel32.dll" Alias "GetLogicalDriveStringsA" (ByVal
    nBufferLength As Long, ByVal lpBuffer As String) As Long


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width