Looking for a reliable way to determine if a drive letter is in use
#14
Would something as simple as this not work?

Code: (Select All)
For i = 1 To 26
    d$ = Chr$(64 + i) + ":/."
    If _DirExists(d$) Then Print Chr$(64 + i); " found."
Next
Reply


Messages In This Thread
RE: Looking for a reliable way to determine if a drive letter is in use - by SMcNeill - 05-09-2023, 11:55 AM



Users browsing this thread: 12 Guest(s)