title: Detecting USB and Floppy Drives' Letters via VBScript
body: <p>I have a Vb-script which store all removable drives' letters into a variable, As you know it contains both floppy and USB drives, I want to seperate them, I mean I want to store USB Drives' Letters in a variable and Floppy ones into another variable,</p>
  
  <p>Here is the script:</p>
  
  <pre><code>strComputer = "."
  Set objWMIService = GetObject("winmgmts:" _
      &amp; "{impersonationLevel=impersonate}!\\" &amp; strComputer &amp; "\root\cimv2")
  
  Set colDisks = objWMIService.ExecQuery _
      ("Select * from Win32_LogicalDisk")
  
  Removable = ""
  For Each objDisk in colDisks
    if objDisk.DriveType = 2 then
      if Removable &gt; "" then
        Removable = Removable &amp; ";"
      end if
      Removable = Removable &amp; objDisk.DeviceID &amp; "\"
    end if
  Next
  </code></pre>
  
  <p>I'm using a software which can call VBScript. But it only support some kind of them like which I posted. So How can I do what I told?</p>
  
  <p>Thanks in Advance.</p>