In VB Find First Available Unassigned Drive Letter



Is there a quick and easy code in VB that will allow me to scan and
find the first unassigned Drive Letter?

I need to use the SUBST command and want to apply it to an unassigned
(available/free) drive letter that currently isn't in use.

.



Relevant Pages

  • Re: In VB Find First Available Unassigned Drive Letter
    ... I need to use the SUBST command and want to apply it to an unassigned ... drive letter that currently isn't in use. ... drv = "unknown" ...
    (microsoft.public.scripting.vbscript)
  • Re: Mapping a local directory to a drive letter
    ... look for SUBST command in Help And Support. ... I would like to map a local directory to a drive letter. ...
    (microsoft.public.windowsxp.general)
  • Re: Hard drive partition
    ... >> Further to the subst command proposed by Philip, ... then map a drive letter to it. ... You can get the Task Scheduler to issue the subst command automatically ...
    (microsoft.public.windowsxp.hardware)
  • Re: Subst no longer works as it did!
    ... In article, Bill Todd ... >local drives prior to Win XP. ... A drive letter assigned using the subst command works fine as a local ...
    (microsoft.public.windowsxp.network_web)
  • Re: Anyone know why the Auto recovery location cannot be changed?
    ... You could try "Help, Detect and repair". ... If that doesn't work, you could temporarily create the old Letter and path with the Subst command and then change it, Or someone here may know the location of the info and you could edit directly. ... It is pointing to a location on the other computer, which is a different drive letter. ...
    (microsoft.public.office.misc)