[comp.os.msdos.programmer] Is B: really A:? How do you tell in TurboPascal?

holtt@jacobs.CS.ORST.EDU (Tim Holt) (02/13/91)

My current method, using TP 5.5 is like this...

var drive : byte;
drive := 1;

{ Set up dialog and wait for button click... }

if (NextDriveWanted) then begin
   repeat
      drive := drive + 1;
      if (drive > 26) then drive := 1;
   until (DiskFree(drive) <> -1);
   ChDir (Chr(drive)+':');
   { rescan directory and redisplay dialog box }
end;


So, is there any way in TP 5.5 to see if B is really A?

Thanks...
Tim Holt
holtt@jacobs.cs.orst.edu
(503)737-3891