Function Directory.getDrive

On Windows, returns the name of the drive (partition) passed as an argument (e.g. C:). On other platforms, or if the requested drive does not existed, the method returns an empty String.

String getDrive (
  const(long) idx
) nothrow @nogc;