Attached is an improved example that allows the user to choose the drive (on the desktop).
It checks for available drives using the following code:
Code:
<font size="2"><font color="#0000ff">for </font></font><font size="2">i = </font><font size="2"><font color="#0000ff">asc</font></font><font size="2">("A") </font><font size="2"><font color="#0000ff">to asc</font></font><font size="2">("Z")
</font><font size="2"><font color="#0000ff"> if DirExist</font></font><font size="2">(</font><font size="2"><font color="#0000ff">chr</font></font><font size="2">(i) & ":\") = true </font><font size="2"><font color="#0000ff">then </font></font><font size="2">cmbDrives.Add(</font><font size="2"><font color="#0000ff">chr</font></font><font size="2">(i) & ":")
</font><font size="2"><font color="#0000ff">next
</font></font>