On Sun, 2 Sep 2001 11:23:25 +0700, you wrote:

>
>
>> ExtractDriveLetter, do I need to spell it out?
>
>ok, but what about the trailing '\'?     <g>
>
ok i have 2 var called
drive:char;
driveletter :string[4];

begin
 for drive:='A' to 'Z' do
 begin
 driveletter:=drive+':\';
 end;
end;


the return drive value is always Z:\

...
   Brendon Toogood

E-Mail [EMAIL PROTECTED]
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to